Hi, I run a web hosting company, and I'm trying to write a webpage that will allow access to domains before dns has updated. Such as: if I buy a domain, add it using webmin - virtual servers, and then want to edit it immediatly before the dns updates. Before I just had a directory of symlinks to the different public_html/ dirs. The problem with this is: my admin domain is:
admindomain.com
so if I visited
admindomain.com/~newdomain/
some pages don't dislpay correctly, and images and such don't work sometimes.
Would there be a way for me to accomplish this task by using:
newdomain.admindomain.com
?
That way if an image was src="/logo.jpg" it would display.
I have apache and bind both configured with wildcards, so now I need to setup a sym link system.
Is there a way I can use php to accomplish this task? Or do I have to make a virtual server in apache for every virtual virtual domain? thanks for your input
-ben
admindomain.com
so if I visited
admindomain.com/~newdomain/
some pages don't dislpay correctly, and images and such don't work sometimes.
Would there be a way for me to accomplish this task by using:
newdomain.admindomain.com
?
That way if an image was src="/logo.jpg" it would display.
I have apache and bind both configured with wildcards, so now I need to setup a sym link system.
Is there a way I can use php to accomplish this task? Or do I have to make a virtual server in apache for every virtual virtual domain? thanks for your input
-ben