Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to make create virtual host with sub domain ???

    Hello all Linux hero

    I use Fedora 10, and installed Apache.

    and now install Bind* with domain:

    After installed Bind, i want to creat Virtual host as follow:

    in var/www/html/ , i create a folder with name LAMP.
    in PHP folder, i create a file linux.php :

    on URL:

    I want become

    How to do it ??? Can you please explain for me ???

    Thanks all

  2. #2
    Just Joined! abdul raziq's Avatar
    Join Date
    Dec 2006
    Dear lamp4,

    one way i know that you make entry in your DNS server.

    example: edit your forward DNS IN A lamp.domain-test

    edit your Reverse DNS

    122 IN PTR lamp.domain-test.

    hope it will resolve your issue. may be experts give more easy options.


  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Quote Originally Posted by abdul raziq View Post
    hope it will resolve your issue. may be experts give more easy options.
    Abdul, this is correct. But only a part of the solution.

    Lamp4, when you do this, you'll need to make sure your httpd.conf also contains a virtual host declaration for your new address too. This is not hard to do, just copy one of the existing examples in the default apache config file; they're usually located at the bottom of the sample httpd.conf.
    Linux user #126863 - see


Posting Permissions

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