3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Trial setup of virtual hosts. (One web server with many sites)

Trial setup of virtual hosts. (One web server with many sites)
Some notes I took to get virtual hosting to work with Apache 2.x on Ubuntu 10.04. I will probably go back and clean it up later. Not saying this is the right way to do it, but it is what was done. I may also have missed a step or two. Oh well for the middle of the night, who knows what I did. In any case this is for private networks only. WARNING: IT IS NOT SECURE (i.e Do not use on a live server to the internet and if you do, do it at your own risk).

One nice thing about this project is that for home everyone can have not only their own web site, they can have several of them.

Note: This project assumes you already have all the Apache modules you need. If you run into a problem please get expert help if you are unsure as to what to do.
 
Remove these adsRemove these ads by Signing Up
 

Step 1DNS.

DNS.
Mod hosts files for host and dns, but use actual server ip. You will need to talk to the dns admin about modifying the dns server.

$ sudo nano /etc/hosts

[code]
127.0.0.1       localhost oesrvr1
127.0.1.1       oesrvr1 www.softserv.com

192.168.1.31    oesrvr1 www.softserv.com
192.168.1.32    oesrvr3
192.168.1.99    printer1
192.168.1.98    printer2
192.168.1.30    nas

# The following lines are desirable for IPv6 capable hosts
...
[/code]
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Sep 10, 2011. 7:39 AMScottyAura says:
okay i think people waist thier time doing it like this but then again i use the webserver online.....sometime soon I will post a tut about how to do this an easier way that works better and is completely free that will actually host multiple sites online using only one machine

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
66
Followers
203
Author:Computothought(Computothought)
Educator, technician, unchef, and chief bottle washer. Be sure to see http://www.instructables.com/community/Computhoughts/ for updates and status on projects.