Question

How do I Make an A record point to the droplet

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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