Keeping site from being live
savantcreative - May 9, 2008 - 16:11
If I install Drupal on my server as I saw in the tutorial is there any way to prevent possible visitors from seeing my site until I want it to be live?
Thanks
If I install Drupal on my server as I saw in the tutorial is there any way to prevent possible visitors from seeing my site until I want it to be live?
Thanks
Go into Administration >
Go into Administration > Site configuration > Site maintenance and set the Site Status to "Off-line." You will still be able to view and use the site as normal, but those who are not administrators will see a "down for maintenance" message.
Thank You
Thanks for your reply. Is there a way to change the :down for maintenance" message to something else?
Long Island Advertising Agency
Long Island Photographer
You can uncheck the "access
You can uncheck the "access content" permission for anonymous role at admin/user/access.
They'll still get to the front page, but it will say "access denied". If you want to completely hide even the first page, you can create an index.html file in the drupal root directory (put whatever html you want there, or even leave it blank if you prefer) and then add "DirectoryIndex index.html index.php" to your .htaccess file. However, someone can still see the front page with "access denied" if they browse the full url (http://www.mysite.com/index.php) directly.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Thank You
Thanks for your reply. Isn't there a way to write a 301 redirect so that /index.php goes to http://www.mysite.com/ ?
Long Island Advertising Agency
Long Island Photographer
Not sure about that-- but if
Not sure about that-- but if there is and you set that up, how would you work on your site?
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
I got You
Sorry. That was a bad question. It doesn't seem to make sense to work locally because of probable later server issues, right? Does anyone work locally and then ftp the whole project up to the server?
I think maybe I should go with the advise to Go into Administration > Site configuration > Site maintenance and set the Site Status to "Off-line." You will still be able to view and use the site as normal, but those who are not administrators will see a "down for maintenance" message. If I can customize the down for maintenance" message
Thanks for your help.
Long Island Advertising Agency
Long Island Photographer
Okay, you're going to feel
Okay, you're going to feel silly about this one… The field to customize the off-line message is on that same page where you set it to be off-line. It's at the bottom, labeled "Site off-line message."
It doesn't seem to make
I've done both and go back and forth between them. If i want constant access to a dev site without being online and have no need to grant others access, I setup dev on my laptop. If I need to show progress along the way I put it on the server and use the method I outlined above to control access. Other then occasional rare incompatibilities due to moving from windows to linux or vice versa, I haven't really had any issues.
Another method i forgot to mention, you could use http://drupal.org/project/front also.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz