how can i configuration Public ip for Ubuntu server

I have installed Ubuntu server on my computer as the main system! and I won’t to configuration ipv4 for it to configuration my domain to this computer ( server ). do i need VPS to do that? and how can I do VPS from old computer

note : Computer spec I5 4 RAM HDD 500G HP LAPTOP


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.


If you’ve installed Ubuntu on your laptop, it’ll auto-configure DHCP / networking for you as a part of the setup, so you shouldn’t need to specifically configure that part.

If you’re wanting to serve data from your laptop (i.e. use it as a web server), you’ll need a static IP or you’ll need to use a service provider, such as No-IP, to keep things in sync.

Beyond that, you’ll need to setup Apache or NGINX as well as any software that you need to handle serving data. The same guides here at DigitalOcean should work just the same on your laptop.

For example:

With a VPS, you’d still configure everything as per the tutorials, but instead of running it from home, you’d be using DigitalOcean and would login using Terminal or another terminal-style emulator and gain access to SSH.