Hi, I am hoping someone can help me with my problem. So I had a website running on wordpress, with the Cloudflare DNS and GoDaddy as the domain provider. It was live for about a month, and I decided that I wanted to run my own server on nodejs, So I created an express app in DO and updated the Cloudflare DNS to redirect the domain name to the new IP Address from Digital Ocean and now it is working fine. But our issue now is how can I access the old wordpress pages and the wordpress panel? My goal is to be able to have a separate path in the website e.g mywebsite.com/<path> which connects to the wordpress pages so that when I do mywebsite.com/<path>/wp-admin I can connect with the existing word-press pages. Any help would be appereciated
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!
This comment has been deleted
@Yannek, Yes I ve tried this, and it gives me a 404 instead.
I’m not sure this is possible using the same domain name. The best way would be to migrate the WordPRess website to your DigitalOcean droplet and put it in a folder like so mywebsite.com/<path>/.
This is what I would have done. The way you are searching an answer for is impossible because your domain can load from only one IP, your Droplet’s IP or your WordPress website’s IP so you need to either move your NodeJS application to the WordPRess platform or you need to move your WordPress website to your DigitalOcean Droplet. Since the first is impossible, I’ll suggest the second option.
Regards, KFSys
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.