By diegomajluf
I’m running a domain (www.lafromagerie.cl) on another server and I’m wish to point testing.lafromagerie.cl to my openlitespeed-nodejs-ubuntu Droplet on Digital Ocean.
I have already added the A record on the other server and I think is running ok as I can reach, for example, the control panel using testing.lafromagerie.cl:7080, but when I try testing.lafromagerie.cl it throws 404 error from LiteSpeed Web Server template.
The app is working because if I reach using the IP http://159.65.179.130/ it works.
What I need is to reach http://159.65.179.130/ but accessing from http://testing.lafromagerie.cl
Thanks for your help.
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!
Accepted Answer
Hi,
When accessing to the server via SSH, there’s a prompt script that you can add new domain for it quickly. (https://docs.litespeedtech.com/cloud/images/nodejs/#step-3)
You can of course go to web admin at port 7080 > Listener, then add the new domain to both http and https listeners. (https://docs.litespeedtech.com/cloud/images/nodejs/#step-2-add-domain-to-listener)
Best, Eric
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.