Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-15-2004, 02:42 PM   #1
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 ( & 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, 02:49 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You can certainly do it - just point each domain to the same IP address then set up virtual hosts for each domain - see:
Old 10-15-2004, 03:02 PM   #3
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

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


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 05:39 PM
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
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 10:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM > Forums > Linux Forums > Linux - Networking

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