Posted by:
stevenmartin99
(---.b-ras1.blp.dublin.eircom.net)
Hi i would like to show you a simple way to set up mutiple websites over the web when port 80 is blocked by your ISP and you have a dynamic IP IS so set each website on its own port then you can redirect people to your IP address + port of the site they want to see
In your httpd.conf file set apache to listen to more then one more, for this example im having 3 sites , 1 is Sub Domain of another
Listen 80
Listen 81
Listen 82
Now in your httpd-vhosts file put this
NameVirtualHost *:80
NameVirtualHost *:81
NameVirtualHost *:82
<VirtualHost *:80 >
DocumentRoot C:/wamp/www/
</VirtualHost>
<VirtualHost *:81 >
DocumentRoot C:/wamp/www/website2
</VirtualHost>
<VirtualHost *:82 >
DocumentRoot C:/wamp/www/subdomain
</VirtualHost>
As you can see this is a very easy way to set them up,
Then use a program such as FreeDNS or DynDNS to update your IP and set up your urls.
If Anyone needs a setup on this, just drop me a mail.
I am writing a complete manual on namebased , ipbased and portbased Virtual Hosts, will be finished it soon
Steven Martin
stevenmartin99@gmail.comstevenmartin99@hotmail.comPampServer.com - [
pampserver.com]
Edited 1 time(s). Last edit at 05/10/2008 02:09PM by stevenmartin99.