Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-12-2003, 08:34 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
How you check a website within a network

I'm using RH9and Apache2. I've succesfully set up a web page recently, but I needed to call my friends outside of my network to see if it was up and running correctly. Now I'm attempting to get Named Based Virtual Hosts going, and am wondering if there is a way to see if it's functioning from inside the network.

Basically my configuration is a DSL line going into a Router/Hub then to My Linux host and a couple of Win XP boxes.

When I type the hostname on any machine, I keep getting the router's http configure page. When I type http://IP.OF.HO.ST I can get one of the host's web page, but I can't get both/either.

I'm sure that you have many suggestions, and I'm overlooking something obvious.... so thanks in advance.

Old 11-12-2003, 09:45 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
You need to somehow identify the hostname with the IP address.. If not DNS and in Linux you can do this by editing the hosts file in /etc

If from Windows, no idea how to add simple hostname to IP's... but a DNS server would work and allow your Windows machines to use it as their DNS entries, etc.
Old 11-13-2003, 08:19 AM   #3
LQ Newbie
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks Trickykid,

I think that I'm not understanding something. I have the hostnames registered with a DNS server that point to my IP already.

On my host machine (the linux box)- I went to /etc/hosts and entered and the IP of the host computer (itself), then I entered and then the IP of the hostcomputer. I still get the router's default configuration page.

Any Ideas?

I'm not too concerned about the windows machines, if I can test the named based virtual hosting from the linux box.

Thanks again
Old 11-13-2003, 08:39 PM   #4
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Did you set up proper port routing?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bash scripting to check text in a website carlp Programming 2 09-20-2005 12:14 PM
Website Print Network jphillip Linux - Networking 2 08-17-2005 03:09 PM
Program to check if website is working jpc82 Linux - Software 0 10-16-2003 08:54 AM
New band, New website, check it out:) Shade General 4 09-11-2003 12:25 AM
Help check speed of a website! DavidPhillips General 6 01-02-2003 08:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

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