Old 23rd April 2008, 13:56
satimis satimis is offline
Senior Member
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Virtual Hosting

Hi folks,

Ubuntu 6.05.3 drake server amd64

I'm prepared testing virtual hosting but I have only one registered domain and one public IP. I will register 2/3 free subdomain for this test. However I'm not going to subscribe additional public IP.

Can I do the test with only one public IP? If YES please advise which document will be relevant for me to follow as a guide. TIA

Reply With Quote
Sponsored Links
Old 23rd April 2008, 14:04
zcworld zcworld is offline
Senior Member
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld

yep u only need one publice IP

heres a quick copy of a friend apache Vhost settings


<VirtualHost *>
ServerName lala.net
ServerAlias *.lala.net
DocumentRoot /var/www/vhosts/lala.net/htdocs
RewriteEngine on
RewriteRule .* - [F]
CustomLog logs/lala.net/access_log combined
ErrorLog logs/lala.net/error_log
php_admin_value open_basedir "/var/www/vhosts/lala.net/htdocs:/var/www/vhosts/lala.net/tmp"
php_admin_value upload_tmp_dir "/var/www/vhosts/lala.net/tmp"

<VirtualHost *>
ServerName laughing.lala.net
DocumentRoot /var/www/vhosts/laughing.lala.net/htdocs
RewriteEngine on
RewriteRule .* - [F]
CustomLog logs/laughing.lala.net/access_log combined
ErrorLog logs/laughing.lala.net/error_log
php_admin_value open_basedir "/var/www/vhosts/laughing.lala.net/htdocs:/var/www/vhosts/laughing.lala.net/tmp"
php_admin_value upload_tmp_dir "/var/www/vhosts/laughing.lala.net/tmp"

just like that
im / he is using fedora but its like that
Shane Ebert :: Facebok
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 and multiple SSL configs and name based virtual hosting Creator1326 Server Operation 11 5th October 2010 20:28
Virtual Hosting: How do I set this up? VinceDee Installation/Configuration 7 12th December 2006 19:36
SECRUTIY issue with Virtual hosting with Proftpd & Mysql snowfly HOWTO-Related Questions 4 9th July 2006 05:50
Building a virtual hosting structure thim Suggest HOWTO 16 25th June 2006 14:40
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58

All times are GMT +2. The time now is 13:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.