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
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.
@jamalabo1
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.
https://www.noip.com/
…
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:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
…
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.