Answers.Body: <p>That error means your site is currently offline.  Check in the control panel under Settings->General to see if it's set to offline there.  Or maybe you're using the <a href="http://buildwithcraft.com/docs/config-settings#isSystemOn" rel="nofollow">isSystemOn</a> config setting and it's set to off on your production environment there.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-21T05:11:10.187Z
Answers.Text: Thanks, Brad. Actually turns out i had imported an older version of the DB that went with an older verison of Craft.
Answers.UserDisplayName: Bob Marteal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-21T04:16:24.367Z
Answers.LastActivityDate: 2015-01-21T04:16:24.367Z
Answers.UserDisplayName: Brad Bell
Answers.Body: <p>I recently ran into this issue as well for a site with multiple locales using a multi-environment configuration.</p>
  
  <p>The issue turned out to be that the secondary locales did not have a multi-environment configuration setup in a way that helped identify what environment they were operating in. Updating the secondary locales index.php files to test for the environment and define the <code>CRAFT_ENVIRONMENT</code> variable got things working again.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-09T19:19:00.163Z
Answers.LastActivityDate: 2017-08-09T19:19:00.163Z
Answers.UserDisplayName: Ben Parizek
Answers.Body: <p>I ran into this issue a few times, turns out I had to change htaccess to .htaccess in the public_html/ folder</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-16T13:45:47.953Z
Answers.LastActivityDate: 2015-09-16T13:45:47.953Z
Answers.UserDisplayName: Brad
Answers.Body: <p>Might also be worth checking if your Craft is having issues connecting to your DB. I got the same message when I launched a new instance on another domain, but forgot to setup the config.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-16T05:57:26.963Z
Answers.LastActivityDate: 2015-12-16T05:57:26.963Z
Answers.UserDisplayName: Chuck Cerrillo
Answers.Body: <p>For what it's worth I found this page after doing a web search for the error message, then realized that I had set everything up on the live server but hadn't imported the database.  </p>
  
  <p>Then I realized that when I updated the database password in my .env file I actually had replaced the security key. </p>
  
  <p>So those are other things to check.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-25T21:40:12.983Z
Answers.LastActivityDate: 2018-09-25T22:02:03.040Z
Answers.LastEditDate: 2018-09-25T22:02:03.040Z
Answers.UserDisplayName: Kirk Roberts
Body: <p>I built a site locally and moved it up to a remote host. I am getting a page that says </p>
  
  <blockquote>
    <p>“Service Unavailable Our site is temporarily unavailable. Please try
    again later.”</p>
  </blockquote>
  
  <p>It’s clearly a page coming from Craft so i know the CraftPath is set up right. I have multi-environment variables set up in config/general.php that seem to be working, i.e. it still works locally and there is a stylesheet being called properly in the error page so i think my {baseUrl} is working. I also have them in config/db.php and at least, the local connection is being made. I have devMode => true and it's not giving any hints...</p>
  
  <p>So i uploaded /craft and /public and imported the database. I’m currently using an IP address because the Url is in use and will be moved later on. I had the IP set up so i get to my /index.php and it seems to go out and find /craft OK. </p>
  
  <p><strong>I don’t have to reinstall craft or anything do i?</strong> </p>
  
  <p>The /craft, /public, database, and multi environment variables should do it? Is there some other thing i need to do?</p>
  
  <p><strong>Would a DB connection error be clear?</strong></p>
  
Tags: <multi-environment>
Title: Moved from local to remote "Service Unavailable Our site is temporarily unavailable. Please try again later."
ThreadText: # Moved from local to remote "Service Unavailable Our site is temporarily unavailable. Please try again later."
  
  (Asked by: username_0 on 2015-01-21)
  
  I built a site locally and moved it up to a remote host. I am getting a page that says
  
  > “Service Unavailable Our site is temporarily unavailable. Please try
  > again later.”
  
  It’s clearly a page coming from Craft so i know the CraftPath is set up right. I have multi-environment variables set up in config/general.php that seem to be working, i.e. it still works locally and there is a stylesheet being called properly in the error page so i think my {baseUrl} is working. I also have them in config/db.php and at least, the local connection is being made. I have devMode => true and it's not giving any hints...
  
  So i uploaded /craft and /public and imported the database. I’m currently using an IP address because the Url is in use and will be moved later on. I had the IP set up so i get to my /index.php and it seems to go out and find /craft OK.
  
  **I don’t have to reinstall craft or anything do i?**
  
  The /craft, /public, database, and multi environment variables should do it? Is there some other thing i need to do?
  
  **Would a DB connection error be clear?**
  
  **Tags:** multi-environment
  
  
  ---
  
  ## 5 answers
  
  ### Answer by username_1 on 2015-01-21. Score: 3
  
  That error means your site is currently offline. Check in the control panel under Settings->General to see if it's set to offline there. Or maybe you're using the [isSystemOn](http://buildwithcraft.com/docs/config-settings#isSystemOn) config setting and it's set to off on your production environment there.
  
  > **Comments:**
  > **username_0**: Thanks, username_1. Actually turns out i had imported an older version of the DB that went with an older verison of Craft.  
  
  ---
  
  ### Answer by username_2 on 2017-08-09. Score: 2
  
  I recently ran into this issue as well for a site with multiple locales using a multi-environment configuration.
  
  The issue turned out to be that the secondary locales did not have a multi-environment configuration setup in a way that helped identify what environment they were operating in. Updating the secondary locales index.php files to test for the environment and define the `CRAFT_ENVIRONMENT` variable got things working again.
  
  
  ---
  
  ### Answer by username_3 on 2015-09-16. Score: 2
  
  I ran into this issue a few times, turns out I had to change htaccess to .htaccess in the public\_html/ folder
  
  
  ---
  
  ### Answer by username_4 on 2015-12-16. Score: 1
  
  Might also be worth checking if your Craft is having issues connecting to your DB. I got the same message when I launched a new instance on another domain, but forgot to setup the config.
  
  
  ---
  
  ### Answer by username_5 on 2018-09-25. Score: 1
  
  For what it's worth I found this page after doing a web search for the error message, then realized that I had set everything up on the live server but hadn't imported the database.
  
  Then I realized that when I updated the database password in my .env file I actually had replaced the security key.
  
  So those are other things to check.
  
  
  ---
  
  