Question

How can I access Wordpress files?

Hello there,

I’m new to VPS. I’m thinking of switching to DigitalOcean because of its good prices and performance.

But I don’t understand much about VPS server. I am installing WordPress with Ubuntu. It enters when ip is typed, but does not enter with the domain name.

I moved the nameservers to Cloudflare, but https was not activated. All I want to do is access the database and files. I would be glad if you help.


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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 24, 2023

Hello!

It seems like you have already made some progress by installing WordPress on your VPS with Ubuntu. However, there are a few steps you need to take to ensure your domain works correctly and to enable HTTPS. Let’s go through the process step by step:

  1. Domain Configuration on Cloudflare: Since you’ve moved your nameservers to Cloudflare, you’ll need to make sure your domain is properly configured there.

    • Log in to your Cloudflare account.
    • Make sure your domain is listed in your Cloudflare dashboard.
    • Ensure that your DNS records are correctly set up. You should have an “A” record pointing to your VPS server’s IP address, and a “CNAME” record (or “A” record, if you prefer) for the “www” subdomain, also pointing to your VPS server’s IP address.
  2. WordPress Configuration: To enable WordPress to work with your domain name, you need to update its settings.

    • Log in to your WordPress dashboard.
    • Go to “Settings” > “General.”
    • Update the “WordPress Address (URL)” and “Site Address (URL)” fields to use your domain name (e.g., http://yourdomain.com).
    • Save the changes.
  3. HTTPS Activation: To enable HTTPS on your website, you can use Cloudflare’s SSL/TLS encryption.

    • Log in to your Cloudflare account.
    • Go to the “SSL/TLS” section.
    • Set the SSL option to “Full” (or “Full (Strict)” if you have an SSL certificate installed on your server).
    • Cloudflare should issue a Universal SSL certificate for your domain. This might take a few minutes.
    • Once the certificate is active, you can set the “Always Use HTTPS” option to ensure all connections are secure.
  4. Mixed Content Fix: After enabling HTTPS, you may encounter “mixed content” issues. This happens when some elements on your website (like images or scripts) are loaded over HTTP instead of HTTPS. To fix this:

    • Install the “Really Simple SSL” plugin on your WordPress site.
    • Activate the plugin and follow the instructions to configure it.

Once you’ve completed these steps, your domain should be working with WordPress, and HTTPS should be active.

Remember, DNS changes may take some time to propagate, so don’t worry if the changes don’t take effect immediately. In the meantime, you can access your VPS and WordPress installation using the IP address provided by DigitalOcean.

Also to access your files, you can use SFTP and FileZilla:

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Best,

Bobby

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

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

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel