Domain name server problems

ConantheBarbarian

Senior member
Nov 8, 2000
239
0
0
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?
 

skyking

Lifer
Nov 21, 2001
22,386
5,360
146
sounds like an apache config problem. BRB!
Edit: In httpd.conf, set a servername, and set usecanonicalname to On.
 

ConantheBarbarian

Senior member
Nov 8, 2000
239
0
0
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?



 

lilkeeney

Member
Jan 7, 2003
28
0
0
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.
 

ConantheBarbarian

Senior member
Nov 8, 2000
239
0
0
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?
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
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.



 

ConantheBarbarian

Senior member
Nov 8, 2000
239
0
0
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.
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
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.
 

Basse

Senior member
Oct 11, 1999
525
0
71
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.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |