hi
i set Wildcard subdomain from this help:
http://help.directadmin.com/item.php?id=127
and work correctly.
i wrote this code in file test.php:
for address "md.com/test.php" >> "md.com" as output.
for address "sd.md.com/test.php" >> "sd.md.com".
its ok.
how to set other domains to point same main folder of main domain?
now i set "Domain Pointer": md2.com [point to]-> md.com.
for address "md2.com/test.php" >> "md2.com".
it is also ok.
but when go to address sd.md2.com/test.php show "ERR_NAME_NOT_RESOLVED".
How can I solve this problem?
i set Wildcard subdomain from this help:
http://help.directadmin.com/item.php?id=127
and work correctly.
i wrote this code in file test.php:
Code:
<?php
echo $_SERVER['HTTP_HOST'];
?>
for address "md.com/test.php" >> "md.com" as output.
for address "sd.md.com/test.php" >> "sd.md.com".
its ok.
how to set other domains to point same main folder of main domain?
now i set "Domain Pointer": md2.com [point to]-> md.com.
for address "md2.com/test.php" >> "md2.com".
it is also ok.
but when go to address sd.md2.com/test.php show "ERR_NAME_NOT_RESOLVED".
How can I solve this problem?