DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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:
  #1  
Old December 17th, 2011, 03:21 PM
woger woger is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 325 woger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 5 h 5 m 8 sec
Reputation Power: 9
DO I have a DNS problem, or....

Hi
I'm hosting a website at home on Ubuntu 11.04 using the LAMP stack, running Apache 2.2.17.

I just registered a new domain name, and wanted it to point back to my home server. I used Xname for DNS hosting. I inserted their name servers with the company I bought the domain from.

I setup a Virtual Host - here's the output from the sites enabled config file -

Code:
<VirtualHost *:80> 
DocumentRoot "/var/www" 
ServerName rightintoit.net 
<Directory "/var/www"> 
allow from all Options +Indexes 
</Directory> 
</VirtualHost>


The site -rightintoit.net - still doesn't show in my browser. It gives a Sevrer not found error.

I'm just wondereing what I've forgotten to do - or how to troubleshoot the problem.

Reply With Quote
  #2  
Old December 17th, 2011, 03:35 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,944 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 10 h 16 m 54 sec
Reputation Power: 7053
If you ping rightintoit.net does it send the packets to your IP addresses?

Actually assuming rightintoit.net is the actual domain, I just pinged it and it didn't resolve. There is a problem with your XName configuration. Do you have an A record set up for this domain?
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old December 17th, 2011, 03:39 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 57 m 49 sec
Reputation Power: 5048
Did you set up the DNS on Xname, or did you just take the name servers and place them at the registrar?

No DNS entries are listed for that domain, so I'm assuming that after you signed up for the account, DNS was not set up to point anywhere.
__________________
"I don't need to get a life. I'm a gamer. I have lots of lives!"

Reply With Quote
  #4  
Old December 18th, 2011, 11:33 AM
[JM] [JM] is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Location: United States
Posts: 24 [JM] User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 49 m 37 sec
Reputation Power: 0
as of this moment, it looks like that domain's name servers are ns(0-2).xname.org. However, the hostname "rightintoit.org" doesnt resolve to anything yet. You need to create a record for this host and any other hosts you want to resolve queries for.

Reply With Quote
  #5  
Old December 19th, 2011, 07:28 PM
woger woger is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 325 woger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 5 h 5 m 8 sec
Reputation Power: 9
Not a lot closer

I've changed DNS hosting, and all seems good.
When I view the report from DNSsy it shows only a few warnings like MX Record. But otherwise good.

So, I'm wondering whether it's my Apache setup with virtual hosting. Ping doesn't work for the domain, but the IP pings OK.

I'd appreciate any advice.

Last edited by woger : December 20th, 2011 at 06:29 PM.

Reply With Quote
  #6  
Old December 20th, 2011, 11:44 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 57 m 49 sec
Reputation Power: 5048
It may have taken some time to propogate, but everything looks good now. I can ping domain and IP with no problem.
Comments on this post
[JM] agrees!

Reply With Quote
  #7  
Old December 21st, 2011, 03:15 AM
woger woger is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 325 woger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 5 h 5 m 8 sec
Reputation Power: 9
Is there any reason I can't ping the domain from on my LAN? DNSsy shows that the domain is up, and show the http headers for the page, but from my LAN, I still get "ping request could not find host rightintoit.net".

That's despite shift refreshes.

Do I need to make changes on my Apache config to make it available from the LAN?

Reply With Quote
  #8  
Old December 21st, 2011, 06:50 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,944 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 10 h 16 m 54 sec
Reputation Power: 7053
You should be able to resolve the domain from your LAN, but depending on your router setup you might not be able to access your server via its public IP from within the LAN.

You could try doing a nslookup or tracert on the domain.

A shift refresh doesn't affect DNS.

Your Apache configuration would not affect a ping.

I can ping the domain now and access the site.
Comments on this post
[JM] agrees!

Reply With Quote
  #9  
Old December 22nd, 2011, 09:08 AM
[JM] [JM] is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Location: United States
Posts: 24 [JM] User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 49 m 37 sec
Reputation Power: 0
Yeap..looks like you are good. I was also able to get to your "It Works!" page.

As E-Oreo indicated, most of the consumer based routers does not support accessing an internal resource by hitting its NAT'd/Port Forwarding public IP address.

From inside your network, you can still use DNS Lookup tools to validate that you can resolve the hostname.

What you could do if you want to access it from the internal network, is add an internal DNS zone, with an internal record pointing to the private IP of this resource, or just modify the HOSTS file (point to the internal IP) of one of your internal nodes so that you can test for internal access.

Reply With Quote
  #10  
Old December 22nd, 2011, 03:48 PM
woger woger is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 325 woger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 5 h 5 m 8 sec
Reputation Power: 9
Used the hosts file option.

Thanks for the advice.

Ciao

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DO I have a DNS problem, or....

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap