ispCP - Board - Support
is there a site preview path to look before a dns switch is made? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: is there a site preview path to look before a dns switch is made? (/thread-2314.html)



is there a site preview path to look before a dns switch is made? - psygarden - 02-06-2008 02:11 AM

This is a question that returns more than once, what is the recommended solution for people that want to preview a newly added domain (that is moving to the server from another server) without having switched their dns ?

So assume http://www.website.com is a live website, and they want to move it to my server.

1) create the account and they can upload everything, import their databases etc.

2) ??? they want to preview their website ??

3) switch dns servers to new server


i'm curious to see how you solve this!


RE: is there a site preview path to look before a dns switch is made? - joximu - 02-06-2008 02:14 AM

psygarden Wrote:This is a question that returns more than once

you are right!

please read the earlier discussions about this. there are some suggestions.

For me, the ServerAlias with the vu2xxx seems the best.

/J


RE: is there a site preview path to look before a dns switch is made? - psygarden - 02-06-2008 02:21 AM

joximu Wrote:
psygarden Wrote:This is a question that returns more than once

you are right!

please read the earlier discussions about this. there are some suggestions.

For me, the ServerAlias with the vu2xxx seems the best.

/J

Can someone please lower the 60 second search interval to 5-10 seconds? Tongue

searching for posts is slow this way :/


RE: is there a site preview path to look before a dns switch is made? - Binford8000 - 02-06-2008 03:52 AM

And please post your find here. I had no success.


RE: is there a site preview path to look before a dns switch is made? - BeNe - 02-06-2008 05:08 AM

You must change in the /etc/ispcp/apache/parts/dmn_entry.tpl this line
Code:
ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME}

to:
Code:
ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} {SUEXEC_USER}.hostdomain.tld

Regenerate your files and the site should be online under vu20XX.hostdomain.tld as Customerdomain.

Greez BeNe


RE: is there a site preview path to look before a dns switch is made? - BeNe - 02-06-2008 05:09 AM

Quote:And please post your find here. I had no success.
--> http://www.isp-control.net/forum/temporary-customer-url-t-1533.html Wink

Greez BeNe


RE: is there a site preview path to look before a dns switch is made? - gOOvER - 02-06-2008 05:12 AM

This should be implemented to ispCP as Standard.


RE: is there a site preview path to look before a dns switch is made? - BeNe - 02-06-2008 05:18 AM

Maybe - but frist we should put it in the Wiki Big Grin

Greez BeNe