DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 22nd, 2003, 12:34 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Question Personal NameServer Not Working

The nameservers for my domain are:

ns1.myhost.com -> *.*.*.142
ns2.myhost.com -> *.*.*.143

I set up registered my nameservers at my registrar, Namecheap as such:
ns1.mydomain.com -> *.*.*.142
ns2.mydomain.com -> *.*.*.143

However, after changing my domain ns records to ns1.mydomain.com and ns2.mydomain.com and after propagation, Going to mydomain.com doesn't load my webpage, but rather the default page for *.mydomain.com (where * can be anything)

What did I do wrong?

Could it be because there are no NS records on my actual nameserver (ns1.myhost.com) for ns1.mydomain.com and ns2.mydomain.com?

Thanks in advance!
__________________
free blog | free blogs

Reply With Quote
  #2  
Old September 22nd, 2003, 04:35 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #3  
Old September 22nd, 2003, 04:47 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Ahh lol there were some forums I went to that didn't allow you to put in your actual url... webmasterworld.com if I remember correctly.

Anyway here's the correct version:


The nameservers for my domain are:

ns1.dh.com.sg -> 203.117.141.142
ns2.dh.com.sg -> 203.117.141.143

I set up registered my nameservers at my registrar, Namecheap as such:
ns1.ebloggy.com -> 203.117.141.142
ns2.ebloggy.com -> 203.117.141.143

However, after changing my domain ns records at Namecheap to ns1.ebloggy.com and ns2.ebloggy.com and after propagation, Going to ebloggy.com doesn't load my webpage, but rather the default page for *.ebloggy.com (where * can be anything; try typing http://anything.ebloggy.com)

What did I do wrong?

Could it be because there are no NS records on my actual nameserver (ns1.dh.com.sg) for ns1.ebloggy.com and ns2.ebloggy.com.com?

Thanks in advance!

Reply With Quote
  #4  
Old September 22nd, 2003, 04:54 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
The nameservers for my domain are:

What domain?

Reply With Quote
  #5  
Old September 22nd, 2003, 05:01 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
ebloggy.com

Reply With Quote
  #6  
Old September 22nd, 2003, 05:28 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
[root@exp root]# dnsqr any ebloggy.com
255 ebloggy.com:
150 bytes, 1+3+2+2 records, response, noerror
query: 255 ebloggy.com
answer: ebloggy.com 84359 A 203.117.141.144
answer: ebloggy.com 84359 NS ns1.dh.com.sg
answer: ebloggy.com 84359 NS ns2.dh.com.sg
authority: ebloggy.com 84359 NS ns1.dh.com.sg
authority: ebloggy.com 84359 NS ns2.dh.com.sg
additional: ns1.dh.com.sg 84982 A 203.117.141.142
additional: ns2.dh.com.sg 84982 A 203.117.141.143
[root@exp root]#

Is 203.117.141.144 the IP address you were expecting to be published as the A record for ebloggy.com? If so, then the problem lies with your HTTP server virtual host configuration.

Reply With Quote
  #7  
Old September 22nd, 2003, 05:40 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
That is correct.

Which means I'll have to contact my host to make what changes?

Reply With Quote
  #8  
Old September 22nd, 2003, 06:28 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
Which means I'll have to contact my host to make what changes?

To configure their HTTP server to serve requests out of the ebloggy.com document root in response to requests for ebloggy.com or www.ebloggy.com

Reply With Quote
  #9  
Old September 22nd, 2003, 06:33 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
My host already serves my document root when ebloggy.com is requested. Only if ns1.ebloggy.com is used instead of ns1.dh.com.sg, then will it not work.

How do I configure it on my host?

Reply With Quote
  #10  
Old September 22nd, 2003, 06:39 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
Only if ns1.ebloggy.com is used instead of ns1.dh.com.sg, then will it not work.

Ask them to configure it to serve files out of the ebloggy.com document root in response to requests for ns1.ebloggy.com as well.

Reply With Quote
  #11  
Old September 22nd, 2003, 06:46 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Thanks a bunch!

Do you have any websites, FAQ, message boards, or books to recommend me?

I'm switching to Linux Redhat soon, and I'm a complete newbie. Will be trying to work out stuff like DNS, HTTP, PHP, MySQL, cron, IP stuff and basically know as much as possible.

Reply With Quote
  #12  
Old September 22nd, 2003, 07:26 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
Do you have any websites, FAQ, message boards, or books to recommend me?

For Apache, the documentation at http://httpd.apache.org/docs has always been fine for me.

For DNS, I'd strongly recommend using Dan Bernstein's djbdns instead of BIND. djbdns is far more secure (never had a security hole), robust and easy to configure.

As for PHP and MySQL, the tutorials on DevShed were enough to get me started a few years ago. Also, there's a good book called PHP and MySQL Web Development which you can get from Amazon.

Message boards: this one is pretty good.

Reply With Quote
  #13  
Old September 22nd, 2003, 11:49 PM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Personal NameServer Not Working


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |