We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47773
    • 30 Posts
    i have begun developing my new site but a bug is bothering me ..
    when i open the modx development environment.. and preview the site from there, it opens up just fine ... but when i actually see the site on the web, it says --> error 503 : site temporarily unavailable.

    the url points to www.mydomain.com/index.php.. automatically as i have put this code in index.html..


    <meta HTTP-EQUIV="REFRESH" content="0; url=http://mydomain.com/index.php">

    Please guide.. !!

    This question has been answered by multiple community members. See the first response.

      • 30585
      • 833 Posts
      Is your site_status setting (in system settings) set to 'Yes'?

      Is your 'modx development environment' on the same server as the live website?
        A MODx Fanatic
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Why do you have an index.html file reloading an index.php file? Your web server should be configured to use index.php as one of its directory index files.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 47773
          • 30 Posts
          i did check site_status variable and its set to yes .. and my site is indeed on the same server as the live website.. but i want to know that will reconfiguring index.php as one of the directory index files, make the site visible on the web.. bcoz rite now as i said earlier too i am seeing index.php in the url which means that its redirecting itself to index.php...
          • discuss.answer
            • 30585
            • 833 Posts
            @sottwell said, you don't need to reload index.php with index.html. In other words, just delete index.html. No need to touch or reconfigure index.php. If you've set up your site to use friendly urls, you should be getting html pages by default.

            If your files were properly uploaded and you've gone through the setup process successfully, your site should be running just fine.
              A MODx Fanatic
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Just to make sure, you did run the setup for the second site? If MODX doesn't find its config.inc.php file it will display a big red bar with the error 503 : site temporarily unavailable message.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 47773
                • 30 Posts
                i got the point but sadly its not working.. i haven't configured the site to use friendly url's upto now.. all i have is bob's book and my imagination for this site.. the book is really nice .. i have gone thru many pages upto now ... too..
                so to start it all once again.. i have deleted everything from server and will try to upload the zipped file of modx-2.3.2-pl.zip inside of httpdocs folder.. am i taking the right step or should the extracted folder of modx be outside the httpdocs folder ?? need some clarification in this ?
                • discuss.answer
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  MODX has to be installed in your web root, in your case inside of the httpdocs folder. You can simplify it if you get the the install.php script and put that file in your httpdocs folder. It will allow you to choose what version of MODX you want, download it for you, unzip it and put the files where they belong, and open the setup utility.

                  https://github.com/sottwell/installer
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 47773
                    • 30 Posts
                    well finally got the website to work.. thanks for the support !!