LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-05-2003, 09:58 PM   #1
jcb_dreamvsat
Member
 
Registered: Jun 2003
Posts: 43

Rep: Reputation: 15
multiple webhosting


Anyone can help....
I have installed RH7.3 on my machine. i want to configure my machine to host many sites. http://xxxx.xxx.xxx.xxx works well on the internet. but when i used http://xxx.xxx.xxx.xxx/site1, it aint workin. i just add a dir on /var/www/html.
 
Old 07-05-2003, 10:15 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
I don't understand what you want to accomplish. If you want Virtual Hosting, you will need the following

DNS setup:
www.site1.com resolves to xxx.xxx.xxx.xxx
www.site2.com also resolves to xxx.xxx.xxx.xxx
www.site3.com yet again resolves to xxx.xxx.xxx

In /etc/httpd/conf/httpd.conf, under section 3 'Virtual Hosts', you will need to define www.site1.com as /var/www/html/site1, www.site2.com as /var/www/html/site2, etc. When you access the httpd server via the name www.site2.com, you will automatically read the index from /var/www/html/site2. Take a look at the examples in the httpd.conf file for more guidance.

If this isn't the type of set up you are looking for at all, you'll need to refine your question a little more.
 
Old 07-05-2003, 10:43 PM   #3
jcb_dreamvsat
Member
 
Registered: Jun 2003
Posts: 43

Original Poster
Rep: Reputation: 15
i dont have a dns yet,since i didnt register anything.im just learning some new things, a real newbie.

using ip based: http://xxx.xxx.xxx.xxx i can browse the default index.htnl on directory /var/www/html

i made i directory in /var/www/html/jcb for example. then i tried to brwose it http://xxx.xxx.xxx.xxx./jcb it doesnt work but http://xxx.xxx.xxx.xxx/jcb/index.htnml it works
 
Old 07-05-2003, 11:08 PM   #4
unixvillian
LQ Newbie
 
Registered: Jun 2003
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Use Cjb.net, they offer free Subdomains that will point to ur IP domain.cjb.net
 
Old 07-06-2003, 12:18 AM   #5
jcb_dreamvsat
Member
 
Registered: Jun 2003
Posts: 43

Original Poster
Rep: Reputation: 15
i would use an ip based site.and multiple host.just like windows
 
  


Reply


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
Webhosting multiple .coms karupt Linux - Networking 1 08-12-2004 10:38 PM
Distributed Webhosting pnh73 Linux - Networking 7 02-04-2004 05:22 PM
Mandrake 9.1 webhosting?? Yo-DUH_87 Linux - Distributions 8 04-06-2003 12:08 PM
Webhosting Help DragonHrt Linux - Newbie 1 03-27-2003 12:53 AM
Webhosting Help DragonHrt Linux - Software 3 03-26-2003 09:30 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration