LinuxQuestions.org
Help answer threads with 0 replies.
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-21-2009, 12:38 AM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Rep: Reputation: 15
View all domain names hosted on an IP address


Hello,
Is there a way you can view all domain names hosted on an IP address using dig or whois? Say if a server is using Name Based hosting?? Thanks.
 
Old 10-21-2009, 01:05 AM   #2
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
Not that I'd know of a way, the only host you can check for an IP address is the host which is in it's reverse zone.
host IPAddress
 
Old 10-21-2009, 02:48 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can use this. Fill-in the ip, click lucky and select shared from the menu

Regards
 
Old 10-21-2009, 03:28 AM   #4
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
Not sure if this works in any other way. I'm hosting 3 or 4 domains and around 100 subdomains altogether on my DNS server, and only host it finds is the one that my IP is reversing to.
 
Old 10-21-2009, 04:03 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Well, it works, sort of!! I have ~20 vhosts in my apache and it can find 17 of them. There are also this and this, but they also give me similar results.
 
Old 10-21-2009, 04:09 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
If they are using host headers then you can not tell how many sites are at an IP address. (unless you try every possible fqdn)
 
  


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 - Newbie 4 10-06-2007 04:39 AM
I cannot ping hosted domain (site) at server Peon1 Linux - Networking 3 10-05-2007 09:21 PM
How to point two domain names to one IP address wwwdot Linux - Newbie 1 05-23-2006 08:10 PM
home hosted domain name? is this possable? Ian_Hawdon Linux - Networking 7 12-18-2005 09:53 PM
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

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

All times are GMT -5. The time now is 12:32 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