I need to change the ip address of the droplet to an actual domain in a wordpress multisite. I´ve pointed the domain to digital ocean and created the domain records in the droplet, but now after typing the domain name in the browsers, automatically gets the ip of the droplet. So i´ve read some tutorials on how to fix that, and supposedly I have to alter some columns in the database.
I´ve tried by SSH but I finally couldn´t. Now I´m trying to install phpmyadmin but I´m getting the following error:
ERROR 1045 (28000): Access denied for user
│ ‘debian-sys-maint’@‘localhost’ (using password: YES) . Your options are:
│ * abort - Causes the operation to fail; you will need to downgrade,
│ reinstall, reconfigure this package, or otherwise manually intervene
│ to continue using it. This will usually also impact your ability to
│ install other packages until the installation failure is resolved.
│ * retry - Prompts once more with all the configuration questions
│ (including ones you may have missed due to the debconf priority
│ setting) and makes another attempt at performing the operation.
│ * retry (skip questions) - Immediately attempts the operation again,
│ skipping all questions. This is normally useful only if you have
│ solved the underlying problem since the time the error occurred.
Could someone tell me how is the easiest way to modify the database to change the current ip of the droplet to an actual domain to set the main domain of the wordpress multisite?
Thanks
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!
Hi @webmastermrpe,
In order to make your domain load your website after you’ve configured your DNS, you’ll need to create the proper configuration on your Droplet. The configuration actually differs depending on your WebSerive - Apache/Nginx.
Firstly, you’ll need to learn how block learn in Nginx. There is a really good tutorial from DigitalOcean here -
Once you know where and what blocks are used for you can check the Let’s Encrypt installation with Nginx
It will show you how to secure it.
Now, Apache doesn’t have blocks but there are vhosts. If you are unsure how to configure them, you can check how here, again a tutorial by DigitalOcean
Once you now how to configure Vhosts, you can see how to configure Let’s Encrypt by reviewing the following article :
To install phpMyAdmin you can again follow a DigitalOcean tutorial here -
It will help you and guide you to the right process.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.