Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-02-2003, 12:02 PM   #1
Registered: Aug 2003
Location: Philippines
Posts: 35

Rep: Reputation: 15
virtual host for local testing

need some help here...

these are the lines in my httpd.conf:

Listen *.80
DocumentRoot /home/user1
ServerName user1

note: the IP address supplied above is what i get from "#/sbin/ifconfig -a". i use alternately

but everytime i access http://user1 then it's looking for how can i set i t up so that it will serve my /home/user1 folder? just like http://localhost serves /var/www/html... for local testing only
Old 09-02-2003, 12:50 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Put user1 in your hosts file. accessing is a browser thing to help you find sites you don't know the suffix of.


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
Local Host? mac_casey Linux - General 7 03-02-2005 08:04 AM
php site testing on my local LAN duffboygrim Linux - General 2 05-16-2004 02:54 AM
Testing apache virtual hosting within a LAN and no dns mdkelly069 Linux - Networking 2 02-11-2004 04:13 PM
Virtual Host |Drakehash| Linux - Networking 0 07-17-2003 03:02 PM
VIrtual host thep Linux - General 10 08-06-2002 11:28 AM

All times are GMT -5. The time now is 10:48 AM.

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