Build initial website

Permalink
How do you access the script to login and build the initial website before you point the url to the site? For instance, I'm building a site that has an existing site they don't want to have down until the new site is ready. Is there a a file/folder within the directory that I can access and build the site, or do I need to set up another domain name - point that one to the site and then switch later?

 
omniomi replied on at Permalink Reply
omniomi
I usually set up another domain such as staging.example.com and do all of my testing/setup there. Just be sure to set robots.txt to Disallow: / so the staging site doesn't end up on Google.
mhawke replied on at Permalink Reply
mhawke
Just to expand on omniomi's comment... you can build it in a regular folder such as 'public_html/temp/' but I usually use 'security by obscurity' by naming the folder something random like 'jsm96783bbh43u8bdyebk' so folks don't stumble on it by accident or by intentionally adding common terms to the end of the domain name.

When eventually moving the site to the root, I do the following:
1) Clear the concrete5 cache (and your browser's cache).
2) Disable Pretty URLs.
3) Move files to the root.
4) Rename the existing .htaccess file to .htaccessOld.
5) Create a blank .htaccess file in the root.
6) Fire up the new site and turn Pretty URLs back on to let concrete5 create the proper entries for your new location.

This way creates a temporary outage for your site and you run the risk of outages if you can't fire up the new site right away so if the website is 'mission critical' then I would suggest creating a new hosting account and when the time is right to switch over, you just point the domain to the new server.
jwhuddle replied on at Permalink Reply
Thanks, the comments were very helpful.

John Huddle
541-728-3201
omniomi replied on at Permalink Reply
omniomi
If I'm not mistaken the only problem with a sub-dir of an existing concrete install is you can't just load load mysite.com/test/ without changing the .htaccess file in the parent /, you'll get a 404 from the parent install of c5. You can load /test/index.php without changing .htaccess but if any of your links don't append the file name they won't work.
mhawke replied on at Permalink Reply
mhawke
I'm not aware of that problem but I will check it out. Is the existing website a concrete5 installation?
jwhuddle replied on at Permalink Reply
No, it's a Webpress site that's too complex for volunteers to manage and
its in a different host.
On May 14, 2015 12:52 PM, "concrete5 Community" <discussions@concretecms.com>
wrote:
mhawke replied on at Permalink Reply
mhawke
You originally said it was being added to an existing host but now you say the existing site is on a different host. I'm confused.