Oxford website design and web developers
  • Home
  • Why Akriga?
  • Testimonials
  • Services
    • Technology for Marketing
    • Technology for Operations
  • Case Studies
  • News & Views
  • Contact
  • Blog
  • Search
  • Menu Menu

My website is down, help!

We get this message shortly before people sign up to our hosting ;-)

Firstly, don’t panic.  There is a logical explanation for this and there will be a fix once we’ve identified the problem.

Lots of things need to happen for your site visitor to view a page on your website.

In this article we’ll describe the troubleshooting steps needed to identify the problem and ultimately fix it.

  1. Is it down for everyone?  If the site is down via your desktop, try using your phone – or vice versa.  If its available to one device but not the other then the site is probably still up and the problem is local to you and that particular device.  Services like https://downforeveryoneorjustme.com/ can also help here.
  2. Is this unscheduled downtime?  Your site may be offline because the hosting provider is performing scheduled maintenance.  You may have missed an email about this so its worth checking, along with their service availability page.  If its scheduled downtime the site should be up in due course without you having to do anything.
  3. Similarly, it may be unscheduled downtime but your hosting provider is already all over it so you don’t need to panic.  Check their ticketing system, Twitter feed or drop them a call/email.
  4. OK, so now your site is down on multiple devices and the provider isn’t saying there is a problem.  This is where the detective work begins.  The first thing to happen when a web page is requested is a lookup from your site name (www.mysite.com) to an IP address.  This is called name resolution, its handled by the Domain Name System (DNS) and its the first chance for someone – or something – to drop the ball.  Open up a command prompt, no really, on Windows 10 like this on Mac its called terminal and if you’re on Linux you don’t need me to tell you how to do this stuff ;-) In the prompt type ping www.mysite.com followed by enter and wait a few seconds.  If you get numbers and times coming back move onto the next step.  However, if you get something like “Name or service not known” or “Host unreachable” you likely have a domain or DNS problem.  Did you renew the domain?  Is your DNS provider up and running?  If you can’t reach www.mysite.com but you can reach mysite.com then DNS is working but you have a configuration issue.  Update your DNS settings to include the www subdomain.  Very rarely your machine or local network is “spoofing” DNS which means you’re getting a different IP address back compared to everyone else.  If the site works on your phone but not on other devices it might be a spoofing issue.  You need to examine your local hosts file and see if there any lines in there that contain your website address, on a mac its like this.
  5. So you can ping your domain, that suggests the machine is up although some hosts are setup so as not to respond to ping requests. Can you reach the server via FTP or SSH? If so that confirms the machine is up even if you couldn’t ping it. Next things to think about are the web and database servers. Sometimes you’ll see a message like “Unable to establish database connection” where your homepage should be. In this case the your database server (mysql, SQL server, postgress, etc) is down and you need to restart it. If you have a hosting control panel you can do it there, if you have SSH access do it on the command line otherwise you’ll have to ask the hosting company to do it or reboot the entire machine and hope it comes back up. NB if you have determined the database server went down you should try and find out why. Possible causes are Out of Memory and lack of disk space but thats another post for another day.
  6. At this stage we’ve established that the machine us up (ping/FTP/SSH access) and the database server is up and running. Is the webserver (Apache or IIS) up? On Linux system ps aux will show you if there any running Apache processes. Before you try restarting Apache, double-check your configuration with apachectl configtest. If that comes back ok, try restarting Apache service apache2 restart on Linux. you should try and find out why. If your site is now up the webserver was down- why? Possible causes are Out of Memory (quite common, is Apache configured to sue more memory than you have?) and lack of disk space but thats another post for another day. If the configtest failed you need to address this first, typical issues are pointing to digital certificate files in the wrong place.

If you’ve worked your way through this list you should now have a reasonable idea of whats going on. Hopefully your site is back up, if its not you can ask for help in a way that will help others help you. Contact your hosting company or give us a call.

  • pink floyd pig over battersea power stationSEO & Support for SME businessApril 11, 2019 - 1:06 pm
  • pipettes in a laboratoryWeb development for “Big Pharma”April 10, 2019 - 2:24 pm
  • Orange motorcycle on a green and grassy bywayTrail Riders FellowshipMarch 1, 2019 - 2:40 pm
  • Goodmans filed horse sculpture by Hamish MackieHamishmackie.comMarch 1, 2019 - 2:35 pm

Categories

  • Blog
  • Client Sites
  • Development
  • News
  • SEO
  • Testimonials
  • Wordpress

CONTACT

  • hello@akriga.com
  • +44 (0)1235 521909
  • Akriga Ltd, 142 South Avenue Abingdon, Oxfordshire OX14 1QY
  • Home
  • Why Akriga?
  • Testimonials
  • Services
  • Case Studies
  • News & Views
  • Contact
  • Privacy Policy
  • LinkedIn
Copyright © 2021 · Akriga Ltd Registered in England and Wales
Company No. 4138178. Vat No. 792 6759 69.
Foreign language websites Choosing a WordPress plugin
Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OKPrivacy policy

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refuseing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Accept settingsHide notification only