LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-12-2003, 07:34 PM   #1
helios007
LQ Newbie
 
Registered: Aug 2003
Posts: 20

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


Hi,
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.

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

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 07:19 AM   #3
helios007
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 mydomain1.com and the IP of the host computer (itself), then I entered mydomain2.net 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
-Helios007
 
Old 11-13-2003, 07:39 PM   #4
r_jensen11
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?
 
  


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

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

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