I’ve a wordpress droplet with a domain, for instance site-one.com, i created a snapshot to change the domain for instance as site-two.com.
I’ve structured the new droplet, changed the ‘siteurl’ and ‘home’ according to the new details.
Finally if i go to the https://site-two.com no problem but when i go to http://site-two.com, it is redirecting to https://olddropletIP.
Btw if i try to admin panel ‘https://site-two/wp-admin’ is redirecting to https://olddropletIP/wp-login.php, but if I try with ‘/’ , like ‘…wp-admin/’ this is redirecting to https://site-two/wp-login.php
When i checked with curl -I http://site-two, Location detail seems new IP before SSL but old IP after SSL.
I am very confused and can’t figure out what is the problem.
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!
Hello, @TinySeaGreenLobster
Do you have any custom redirect rules for HTTP requests? For example, redirect from HTTP to HTTPS? You can temporary disable any redirect rules or plugins that do that for you and give it a try.
You can also check the virtual host for the domain name and make sure the old server IP address is not defined in the virtual host block.
Regards, Alex
More information.
The redirect rule that you can check is the file called .htaccess which is under the /var/www/html/ folder as well as web admin at port 7080 > Virtual host > Rewrite tab, check https://docs.litespeedtech.com/cloud/images/wordpress/#step-2-add-domain-to-listener
You might also want to visit web admin at port 7080, and check if you have the new domain on both HTTP and HTTPS listeners, https://docs.litespeedtech.com/cloud/images/wordpress/#step-2-add-domain-to-listener
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.