From ee22464c1de619cc3336d3213be85506f7ecdbd5 Mon Sep 17 00:00:00 2001 From: Matthew Powers-Freeling Date: Sat, 11 Sep 2010 17:17:02 -0400 Subject: [PATCH] Import from TextPattern --- faq/132.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 faq/132.mdwn diff --git a/faq/132.mdwn b/faq/132.mdwn new file mode 100644 index 0000000..ce07b78 --- /dev/null +++ b/faq/132.mdwn @@ -0,0 +1,22 @@ +[[!meta title="Can I add a vhost before I point my domain at scripts?"]] +The easiest approach is simply to +[point the domain at scripts](http://scripts.mit.edu/faq/14/do-cnames-work-with-the-script-service) +*before* you set it up, but if you wish to migrate a currently +active website, you may want to have the vhost set up on scripts +before changing the DNS to avoid interruption. + +If you want to do this, scripts will require that you create a file +in the root directory of your existing website. For instance, if +you are trying to add the domain “example.com” and it asks for the +file “scripts\_870shdfs8.html”, you should make sure that +http://example.com/scripts\_870shdfs8.html exists (though its +content is irrelevant). + +If you want to use a wildcard (e.g. \*.example.com), you should +make sure that *all* subdomains matching the wildcard point to the +same place, and contain the file listed – for instance, for +\*.example.com, a.example.com, b.example.com and c.example.com +should all contain the file. + + + -- 2.45.2