Results 1 to 3 of 3

Thread: Virtual hosting

  1. #1
    Join Date
    Apr 2006
    Beans
    3,937

    Virtual hosting

    Hi folks,


    Ubuntu 6.05.3 drake server amd64
    Apache2


    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


    B.R.
    satimis

  2. #2
    Join Date
    Jan 2008
    Location
    /dev/null
    Beans
    2,793
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Virtual hosting

    Quote Originally Posted by satimis View Post
    Hi folks,


    Ubuntu 6.05.3 drake server amd64
    Apache2


    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


    B.R.
    satimis
    yes. you will just need to setup virtual sites in apache by creating new conf files in /etc/apache2/sites-available then enabling them with a2ensite <configfile_name>

  3. #3
    Join Date
    Dec 2007
    Beans
    65
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Virtual hosting

    Quote Originally Posted by satimis View Post
    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
    Yes, the whole point of virtual hosting is to share an IP among several domains. The URL header is analyzed by apache and it loads the pages from the directory root you specify for that domain.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •