Skip to content
Deploying apps6 min read

A checklist before you launch your project

Short answer

Before launch, make sure HTTPS works and http redirects to it, error display is off (APP_DEBUG=false, display_errors Off), .env and keys are out of Git, and backups run and you have restored one. Then check the 404 page, redirects from old URLs, that the site's emails reach the inbox, robots.txt and the sitemap, and your analytics.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. The short list
  2. Before launch: security
  3. Before launch: backups
  4. Before launch: URLs and pages
  5. Before launch: email
  6. Before launch: visibility and measurement
  7. Launch day and after
  8. On ArabyHost

Most first-week problems are predictable: an error message that reveals server paths, a site missing from Google because robots.txt still blocks it, a contact form whose messages land in spam, or a backup you discover doesn’t work on the day you need it. This list is ordered by how much damage each item can do, and each one has a check you can run yourself.

The short list

# Check How to confirm
1 HTTPS works and http redirects to it curl -I http://example.com gives 301 to https
2 Error display is off A generic error page, no paths or code
3 Secrets are out of the repo git log --all -- .env returns nothing
4 Backups run A backup dated today or yesterday
5 You tested a restore You actually restored a file or database
6 One main domain www and non-www redirect one to the other
7 Old URLs redirect Important old URLs return 301
8 A real 404 page A missing URL returns status 404
9 Site email arrives A form message lands in a Gmail inbox
10 robots.txt and sitemap No Disallow: /, and the sitemap opens
11 Analytics and Search Console Your own visit shows in the realtime report

Before launch: security

1. Forced HTTPS

Make sure the certificate covers both the domain and www, then redirect all http requests to https:

curl -I http://example.com
# HTTP/1.1 301 Moved Permanently
# Location: https://example.com/

Open the site and look for mixed content warnings in developer tools; one image on http:// removes the padlock. Steps in force HTTPS.

2. Hide error messages

Detailed errors help you and hurt a live site: they can show passwords and file paths.

  • PHP: in cPanel’s MultiPHP INI Editor, set display_errors to Disabled and keep log_errors on.
  • Laravel: APP_ENV=production and APP_DEBUG=false in .env.
  • WordPress: define('WP_DEBUG', false); in wp-config.php.
  • Node.js: set Application mode to Production, and never send err.stack in API responses.

Trigger an error, such as a non-existent ID, and check the response is generic.

3. Secrets out of the repository

git log --all --oneline -- .env
git log -p --all | grep -i -E "sk_live|api_key|secret|password=" | head -20

If any secret shows up in the history, change it at its provider; deleting it from the repo isn’t enough. Swap test keys for live keys in payments and email. More in setting .env variables on hosting.

4. Admin accounts

Delete test accounts, use long passwords from the password generator, and turn on two-factor authentication where available. See protect your site from hacking.

Before launch: backups

5. A copy you own

Alongside the host’s backups, keep a copy outside it: the code in Git, a database export from phpMyAdmin (the Export tab), and the uploads folder, such as wp-content/uploads or storage/app.

6. Test a restore

A backup you’ve never restored is a hope. Restore one unimportant file from the backup tool in cPanel, or import your database export into a new test database and check that tables and data are complete. Note how long it took; that’s your real downtime if something goes wrong.

Before launch: URLs and pages

7. One main domain

Choose example.com or www.example.com and 301-redirect the other to it, so Google doesn’t see two copies of the site. You can build the rule with the htaccess redirect generator.

8. Redirect old URLs

If the site replaces an old one, collect its important URLs (from Search Console or the old site) and redirect each to its new equivalent:

Redirect 301 /old-page.html https://example.com/new-page/

9. A 404 page that returns 404

curl -I https://example.com/this-page-does-not-exist
# HTTP/2 404

If you get 200, search engines see thousands of empty pages. For a PHP or static HTML site, add ErrorDocument 404 /404.html to .htaccess. React and Vue apps that send every URL to index.html should show a “not found” view in the app, knowing the status stays 200 unless you render on the server.

Before launch: email

10. Site emails reach the inbox

Contact forms, order confirmations and password resets should send from an address on your domain (such as [email protected]) over SMTP with a real mailbox, not PHP’s mail() from a Gmail address. Check your SPF, DKIM and DMARC records with the TXT lookup; steps in set up SPF, DKIM and DMARC. Then send a test to Gmail and Outlook and confirm it lands in the inbox, not spam.

Before launch: visibility and measurement

11. robots.txt and the sitemap

Open https://example.com/robots.txt. If it has Disallow: / from development, remove it and add the sitemap line:

User-agent: *
Disallow:
Sitemap: https://example.com/sitemap.xml

In WordPress, make sure Discourage search engines from indexing this site under Settings then Reading is unticked. The terms are explained in robots.txt and sitemap.

12. Analytics and Search Console

Install the analytics tool you’ve chosen, open the site from your phone and check your visit appears. Then add the site to Google Search Console and submit the sitemap, as in set up Google Search Console.

Launch day and after

  • Run the full journey with a real account: sign-up, an order, a small real payment you then refund, and a password reset.
  • Scheduled jobs: confirm your cron jobs run (scheduler, queues, bots).
  • Speed: test the home page and a product page, compress images and turn on caching. If the site slows down once visitors arrive, see site slow after launch.
  • Logs: read the error log in the first hours; errors visitors don’t see show up there first.
  • Domain: turn on auto-renewal and make sure the domain’s contact email reaches you.
  • Legal pages: a privacy policy and terms of use; check your country’s regulations on data and e-commerce.

On ArabyHost

On ArabyHost a free SSL certificate (AutoSSL / Let’s Encrypt) is issued automatically for each domain, JetBackup takes daily backups you can restore from to run check 6, Imunify360 protects accounts, and SPF and DKIM are set up automatically for email on your domain. The web server is LiteSpeed, with LiteSpeed Cache for WordPress sites. Outgoing email is capped per hour per domain, so large bulk mailings need a dedicated sending service. If an error appears after launch, the Araby AI assistant reads the error log and explains the fix. Plans are on the pricing page.

FAQ

Are my host's backups enough?

They're the first line of defense, but also keep your own copy outside the hosting before launch and after every big change: the code in Git, a database export, and user-uploaded files. A backup you haven't restored is one you don't know works.

How do I check that my site redirects http to https?

Run curl -I http://example.com; you should see a 301 with a Location line starting with https. Or open the http address in a private window and check that it changes.

Why isn't my site on Google after launch?

First check that robots.txt doesn't still contain Disallow: / from development, and that WordPress's discourage-search-engines option is off. Then add the site to Google Search Console and submit the sitemap; indexing usually takes days.

What should I do on the first day after launch?

Watch the error log, run the forms and payments with a real account, confirm emails arrive, and look at Search Console's pages report. Keep the pre-launch backup ready to roll back to.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.