how can i configuration Public ip for Ubuntu server

Posted May 16, 2017 9k views

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
HDD 500G

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.

Submit an Answer
1 answer


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.

by Brennen Bearnes
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is...