Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hosting a website on your own server

Is there a detailed guide which explains how to host a website on your own server on linux. I have currently hosted it on one of the commerical web-hosts. Also the domain is registered to a different vendor.

Thanks

like image 706
Pratik Shah Avatar asked Dec 30 '22 10:12

Pratik Shah


2 Answers

This guide is probably more info than you really requested, but webserver information is in there. It's Gentoo-specific, but you can apply the same information with minor translations to any other distro.

like image 186
nutbar Avatar answered Jan 05 '23 07:01

nutbar


I would look into installing apache

99% of linux distributions will have a package for it.

On ubuntu you can run:

sudo apt-get install apache2

Are you considering hosting a web page locally for the internet? Or is this just for development etc..

If it's for an internet server, you will need a stable internet connection with a good upstream.

You may also need a static IP address so you can setup DNS to point to the right place.

like image 25
Cetra Avatar answered Jan 05 '23 07:01

Cetra