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 07-07-2003, 01:26 AM   #1
jcb_dreamvsat
Member
 
Registered: Jun 2003
Posts: 43

Rep: Reputation: 15
Multiple Web hosting


Any genius will help.........

I have installed RH7.3 on my machine, then i made a dir for webhosting.
/var/www/html/site1 , when i view the the site http://192.168.0.1/site1 it doesnt exist. But if put http://192.168.0.1/site1/index.html it works well. how can configure it for multiple webhosting in just one ip address.
 
Old 07-07-2003, 04:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not really anything anythign to do with multiple sites.. that's just a directory. But if this is up as a subdomain then i'd guess that you've just not set up the DirectoryIndex correctly
 
Old 07-07-2003, 12:28 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Maybe a combo of that and:
UseCanonicalName On
Not being on?

For DirectoryIndex you should have at least:
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>

And in the modules section:
AddModule mod_autoindex.c
and
AddModule mod_dir.c



HTH

Cool
 
  


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
Hosting multiple domains Imanerd Linux - Networking 2 01-04-2005 08:10 PM
multiple website hosting matneyc Linux - Newbie 4 12-20-2004 03:21 PM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 05:16 PM
Web Hosting elainepearl General 2 07-24-2003 08:57 AM
multiple web page hosting bytebrowser Linux - Networking 4 06-15-2003 03:42 AM

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

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