Well, I searched for it so much! But I couldn't find anything useful about it.
I have a server with windows server 2008 r2 running on it.
I configured DNS and domain name and they are working properly.
Now I want to run my website with xampp not with IIS. I've installed xampp.
The problem is, xampp is using port 80 for http requests. Some other programs also use port 80 like svchost (That can not be terminated because system crashes.)
So we have to change the xampp port to 8080 or somrthing else. In this case yes xampp works. But just if we type
mydomain.com:8080
in the browser.
I don't want this. I want
mydomain.com
(Which is on port 80) directly point to xampp.
These are the solutions I've thought about for solving the problem:
1.Port forwarding: Like forward all incoming requests in port 80 to 8080(Xampp)
2.Changing default http listening port to 8080
I can't find a way to do one of the cases above. Maybe I'm wrong.
That was the main problem. Any idea?