I have http://www.site.com/info.php?p=health
I want to obtain http://www.health.site.com/
Go into control DNS I add:
www.* A 64.64.64.64
* A 64.64.64.64
All
* A 64.64.64.64
ftp A 64.64.64.64
site.com. A 64.64.64.64
localhost A 64.64.64.64
mail A 64.64.64.64
pop A 64.64.64.64
test A 64.64.64.64
www A 64.64.64.64
www.* A 64.64.64.64
www.test A 64.64.64.64
site.com. NS ns1.host.com.
site.com. NS ns2.host.com.
mail MX 10
Further .htaccess
RewriteCond %{HTTP_HOST} (.+)\.lhost.com$
RewriteRule index.html /path/to/dir/%1.html
Accordingly http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
Prompt that I do make not correctly?
I want to obtain http://www.health.site.com/
Go into control DNS I add:
www.* A 64.64.64.64
* A 64.64.64.64
All
* A 64.64.64.64
ftp A 64.64.64.64
site.com. A 64.64.64.64
localhost A 64.64.64.64
mail A 64.64.64.64
pop A 64.64.64.64
test A 64.64.64.64
www A 64.64.64.64
www.* A 64.64.64.64
www.test A 64.64.64.64
site.com. NS ns1.host.com.
site.com. NS ns2.host.com.
mail MX 10
Further .htaccess
RewriteCond %{HTTP_HOST} (.+)\.lhost.com$
RewriteRule index.html /path/to/dir/%1.html
Accordingly http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
Prompt that I do make not correctly?