Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-09-2009 #1
- Join Date
- Apr 2009
how to make create virtual host with sub domain ???
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 domain-test.com/LAMP/linux.php become http://LAMP.domain-test.com/linux.php
How to do it ??? Can you please explain for me ???
- 04-09-2009 #2
one way i know that you make entry in your DNS server.
example: edit your forward DNS
192.168.1.122 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.
- 04-09-2009 #3
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 http://linuxcounter.net/