Question

Just setup WordPress on my droplet server, now my site is down, please help?

Hi there everyone, I connected to my droplet server via SSH and followed all the steps in this guide: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04

Everything worked great, and I was completely successful in my attempt. I entered my site URL in google chrome and got the wordpress select-a-language setup, exactly as shown in the guide.

I then shut down my PC and went to bed. When I woke up, I tried entering my site URL from a different computer to finish the wordpress setup and suddenly my site was down. I got the following error: “This site can’t be reached cultureontrial.com’s server DNS address could not be found. Try running Windows Network Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN”

I did absolutely nothing at all between that timeframe, didn’t touch my server, didn’t even use Putty or the droplet in any way. I tried again a few days later from the PC I did the setup on and still the site was down.

I tried following Step 5 in the guide over again, ran “curl -s https://api.wordpress.org/secret-key/1.1/salt/” and got new secure values. Copied and pasted them into the wp-config.php file exactly as I did last time, and still nothing.

If anyone can please help on this let me know. It would be really deeply appreciated as I’m getting quite frustrated by this!


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Please change this line.

#ServerName www.example.com

Then you should add your domain in instead.

ServerName www.example.com

Notice in my second example the “#” sign is also removed. That is important to ensure the line is not commented out. After you make the edit, restart Apache.

service apache2 restart

Hope this gets things working. Thanks.

Hello,

Could you please paste your wp-config.php here so I can have a look? Go ahead and star * out the DB information and other security information so it’s not public here on the forums.

We’ll figure it out. Thanks.

This comment has been deleted

    Try DigitalOcean for free

    Click below to sign up and get $200 of credit to try our products over 60 days!

    Sign up

    Become a contributor for community

    Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

    DigitalOcean Documentation

    Full documentation for every DigitalOcean product.

    Resources for startups and SMBs

    The Wave has everything you need to know about building a business, from raising funding to marketing your product.

    Get our newsletter

    Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

    New accounts only. By submitting your email you agree to our Privacy Policy

    The developer cloud

    Scale up as you grow — whether you're running one virtual machine or ten thousand.

    Get started for free

    Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

    *This promotional offer applies to new accounts only.