• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Domain name server problems

ConantheBarbarian

Senior member
I have a registered domain name that points toward my Windows 2000 webserver IP address. This works fine, my apache server displays the pages. Here is my problem. Say you type in my address www.server.com it goes to my home page, but in the browser address field it shows my ip address instead of my domain name. Is this something with apache that I need to change?
My domain name is registered with namecheap.com, and they are web forwarding it to my ip address. Is that my problem? Do I need to set up my own dns server?
 
sounds like an apache config problem. BRB!
Edit: In httpd.conf, set a servername, and set usecanonicalname to On.
 
Originally posted by: skyking
sounds like an apache config problem. BRB!
Edit: In httpd.conf, set a servername, and set usecanonicalname to On.

OK I did what you said to do and it still shows the IP address instead of the domain name. Any other suggestions?



 
the problem is with namecheap. You shouldn't be using a webforwarding. Just use the A(Address command). That will fix it.

Look on there site for the difference between A, CNAME, etc. it will explain it.
 
Ok I added the ip address as a A name ex: xx.xx.xxx.xx:8000 this is where I get the problem. When I put port :8000 it gives me an error msg saying that only an IP can be entered. If I dont put in the port # everything is fine put it does not redirect to my server. Any help on that?
 
DNS entries don't have any concept of ports, so xx.xx.xx.xx:8000 is not valid. I don't know exactly what "webforwarding" is, but I'm guessing that it means you hit their webserver first, which contains a permanent redirect to your IP address and port. Since a web redirect does understand ports this works, unlike straight DNS.

Is there any reason you can't run Apache on the standard port 80, and have DNS point there directly? Maybe namecheap won't work that way, but that would be the standard way to do it.



 
Cleverhandle,

The reason I am using port :8000 is because Apache is running on windows 2000 server with IIS conflict on port :80. Is there any way to disable IIS so it can free up port :80 for Apache. Thx.
 
It should be enough to go through Computer Management-->Services, and turn off and disable the Web service there. But I haven't used IIS much, and I don't have a server in front of me. To keep things simple, disable only the Web part - ripping out IIS entirely can be a bit of a pain if you do it incorrectly.
 
Like cleverhandle said, start the IIS management console and right-click on the webpages (default, administrtion etc) to stop them. That should release the 80 port.
 
Back
Top