Question

Change domain by other

Hello,

I have a droplet with a server and nginx in Ubuntu. I have a domain pointing to my droplet. I have https with cerbot.

In the comming months, I will need to change my domain by other with the same features, (pointing to my server, nginx and https)

how should I proceed to make the change?

Thank you very much¡¡¡


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hi Eusebio,

You have to edit configuration files of your website and re add ssl to the new domain.

Ubuntu’s nginx configurations file for your website is in /etc/nginx/sites-enabled/ then do ls to check your domain’s configuration file and then edit the server name to your new domain.