Question

How to change server ip address to domains in droplets ubuntu server ?

Hello…

I’m new user on Digital Oceans and ubuntu server. I got some problem with => When i called to mine domains with www.kifuuu.com. But it doesn’t work in domain name. It works in ip address on browser. How can i fix in mine server or droplets. I bought kifuuu.com domain names from domains.google with already forwarded to http to https.

I searched and read some tutorials from Digital Oceans. Thats the commands i runned in ubuntu terminal.

magicdemon:~$ curl -Il kifuuu.com HTTP/1.1 301 Moved Permanently Date: Fri, 28 Jan 2022 03:48:42 GMT Server: Apache/2.4.41 (Ubuntu) Location: https://206.189.147.138/ Content-Type: text/html; charset=iso-8859-1

Question is How to change Location: https://206.189.147.138/ To https://www.kifuuu.com

Thanks in advanced


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @AkSu,

So, the first step to making your domain work from a Droplet or in a matter a faster anywhere is to point your A record to your Droplet’s IP address.

Once you have that, on your Droplet, you need to install a WebService for your Droplet to serve the files of your Domain. There are typically two choices Nginx or Apache. In its essence, both can do the same thing but Nginx is better in one thing, Apache in another. I’ll provide you with a tutorial for both on how to use them, configure them and install them.

Once you’ve done the above, your Domain will load from your new Droplet.

So, here are the tutorials as mentioned:

Nginx :

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

Apache :

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04