LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2007, 08:51 PM   #1
Peon1
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
I cannot ping hosted domain (site) at server


I have weired problem when i ping a domain name which is hosted at the server. I get response

unknown host mydomain.com

Its weired because its the domain which is hosted at server.

So what is causing this and how to resolve it?

Though i ping to google.com or any other site returns with proper ip addresses.
 
Old 10-05-2007, 09:06 PM   #2
dafunks
Member
 
Registered: Sep 2007
Location: UK
Distribution: Slackware 12
Posts: 62

Rep: Reputation: 15
What server? Your own website? What exactly are you trying to achieve? I think you need to describe what it is you want to do in more details. It is quite possible your domain name hasn't propagated yet, if it is a new purchase that is. Or possible routing issues.
 
Old 10-05-2007, 11:32 PM   #3
Peon1
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dafunks View Post
What server? Your own website? What exactly are you trying to achieve? I think you need to describe what it is you want to do in more details. It is quite possible your domain name hasn't propagated yet, if it is a new purchase that is. Or possible routing issues.

I am talking about my dedicated server which is unmanaged from web hosting company. Yes i am talking about websites which are hosted on that server.

I can ping every site except those which are hosted at same server. It returns

ping: unknown host mydomain.com

I purchased that server about 6 days before and transferred sites from previous server so i think its enough for dns propgation.

Actual problem is that my perl script cannot access local file using LWP::Simple -> get function. I believe its because of above mentioned issue because ping returns unknown host instead of correctly retrieving ip address.

Your help and guidance is really appreciated.

Last edited by Peon1; 10-05-2007 at 11:36 PM.
 
Old 10-06-2007, 04:37 AM   #4
dafunks
Member
 
Registered: Sep 2007
Location: UK
Distribution: Slackware 12
Posts: 62

Rep: Reputation: 15
Can you view the websites via your browser? Is everything else letting your host resolve to your dedicated server IP? Have you opened a shell local / on your dedi and typed the command:

host www.yourdomain.com

If it returns something like it did for my google query below, then you can rule out an issue with DNS propogation or configuration, as long as the IP shown is that of your server. If it doesn't, then you have an issue with your DNS configuration either local on the server or in the nameserver settings placed in the domain name registrar:

bash-3.1$ host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 64.233.183.147
www.l.google.com has address 64.233.183.103
www.l.google.com has address 64.233.183.99
www.l.google.com has address 64.233.183.104
 
Old 10-06-2007, 04:39 AM   #5
dafunks
Member
 
Registered: Sep 2007
Location: UK
Distribution: Slackware 12
Posts: 62

Rep: Reputation: 15
Quote:
Originally Posted by Peon1 View Post
Actual problem is that my perl script cannot access local file using LWP::Simple -> get function. I believe its because of above mentioned issue because ping returns unknown host instead of correctly retrieving ip address.
Sorry, I meant to add, this won't return anything if there is an issue with the hostname being resolved as it checks to see if what it is trying to connect to is a valid domain.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot ping hosted domain (site) at server Peon1 Linux - Networking 3 10-05-2007 09:21 PM
best way to build a web site hosted by linux? heatherbegazo Programming 7 10-10-2006 10:08 PM
Web site hosted on Linux Robinxh Linux - Newbie 2 06-26-2006 03:46 AM
How to view the web site hosted on win2k server which is a client machine? gogo Linux - Networking 10 10-19-2002 10:48 PM
How is this site hosted? AMDPwred General 1 12-11-2001 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration