Hello all Linux hero
I use Fedora 10, and installed Apache.
and now install Bind* with domain: domain-test.com
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: domain-test.com
I want http://domain-test.com/LAMP/linux.php become http://LAMP.domain-test.com/linux.php
How to do it ??? Can you please explain for me ???
Thanks all
how to make create virtual host with sub domain ???
Moderator: General Moderators
Re: how to make create virtual host with sub domain ???
Here is apache's documentation on how to create virtual hosts.
http://httpd.apache.org/docs/1.3/vhosts/
hope that helps
http://httpd.apache.org/docs/1.3/vhosts/
hope that helps
Re: how to make create virtual host with sub domain ???
thanks tech603.
but it's create by manual.
can i create sub domain automatic ???
example: i have homepage is: http://domain.com
when user login success, URL become: http://username.domain.com/ , but real place is http://domain.com/username
but it's create by manual.
can i create sub domain automatic ???
example: i have homepage is: http://domain.com
when user login success, URL become: http://username.domain.com/ , but real place is http://domain.com/username