Results 1 to 5 of 5
  1. #1

    Enable virtual hosting for more than 2 domains

    well i dont know about lighttpd , well i have done the below steps to do this.

    Well i am using Linux VPS with centos.

    and recently updated to lighttpd.

    i have 3 domains in /var/www/html named as

    first is a default domain and working fine.

    what to do to map all my domain to work exactly when pinging from the browser.

    Right now i have change the code in lighttpd.conf

    $HTTP["host"] =~ "(^|\.)$" {
    server.document-root = "/var/www/html/"

    $HTTP["host"] =~ "(^|\.)$" {
    server.document-root = "/var/www/html/"

  2. #2
    Join Date
    Mar 2004
    I don't really understand your question.
    You mean you can't PING nor

    That means you have DNS issues...

  3. #3
    yes i cant ping the domain from the browser.

    And i have set DNS setting to all domain same.

    When the default domain is working fine.

    while other not

  4. #4
    How many ips do you have? Each site should take at least 2 ips

  5. #5
    i have only 1 ips for the 3 domain

    how many would buy.

    and then how to used them in lighttpd to assign different ip with different domains

Similar Threads

  1. Enable Virtual Directory(?)
    By amex in forum Programming Discussion
    Replies: 3
    Last Post: 03-31-2009, 01:12 PM
  2. How to enable PHP exec() for particular domains only?
    By boonchuan in forum Hosting Security and Technology
    Replies: 8
    Last Post: 03-03-2006, 05:40 PM
  3. virtual hosting with many domains on single IP
    By oleo in forum Web Hosting
    Replies: 3
    Last Post: 01-05-2006, 09:42 AM
  4. How do I enable Virtual Directory Support.
    By dollar in forum Hosting Security and Technology
    Replies: 0
    Last Post: 11-07-2004, 08:53 PM
  5. enable parked domains?
    By saghir69 in forum Domain Names
    Replies: 3
    Last Post: 07-27-2004, 04:48 PM

Posting Permissions

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