LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-15-2004, 03:42 PM   #1
pH*
Member
 
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

Rep: Reputation: 15
hosting multiple sites w/ apache


I have a several home computers all connected to the net through a linksys router. I'm forwarding port 80 to my Linux box, which is running apache. Right now I'm hosting my own site with a free sub-domain from dynDns. Is it possible to host other sites (also using dynDns sub-domains) on my computer? If so, what is this called... very new to apache and web stuff in general, and find myself getting confused quickly reading about virtual hosts, etc., and wondering if it can even be applied with my setup.

So basically I'd like to be able to send port 80 requests for different sites (site1.dyndns.com & site2.dyndns.com) to the one wan ip i have (router), forward those requests to my computer running apache, and have them resolve and serve their respective web-sites.

Any help, pointers, and suggestions for further reading greatly appreciated.
 
Old 10-15-2004, 03:49 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
You can certainly do it - just point each domain to the same IP address then set up virtual hosts for each domain - see:
http://httpd.apache.org/docs-2.0/vhosts/
 
Old 10-15-2004, 04:02 PM   #3
pH*
Member
 
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

Original Poster
Rep: Reputation: 15
Thank you... that looks like it exactly.
 
  


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
Apache: hosting multiple domains fturcic Linux - Software 1 02-15-2005 06:39 PM
Hosting multiple domains Imanerd Linux - Networking 2 01-04-2005 09:10 PM
multiple website hosting matneyc Linux - Newbie 4 12-20-2004 04:21 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 11:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 10:50 AM


All times are GMT -5. The time now is 09:26 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration