Jump to content

I'd use a Linux distro like Ubuntu or Debian for that.

This tutorial helped me to set up a LAMP stack (for Ubuntu): https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

 

Of course, setting up a domain will cost money.

Blue Jay

CPU: Intel Core i7 6700k (OC'd 4.4GHz) Cooler: CM Hyper 212 Evo Mobo: MSI Z170A Gaming Pro Carbon GPU: EVGA GTX 950 SSC RAM: Crucial Ballistix Sport 8GB (1x8GB) SSD: Samsung 850 EVO 250 GB HDD: Seagate Barracuda 1TB Case: NZXT S340 Black/Blue PSU: Corsair CX430M

 

Other Stuff

Monitor: Acer H236HL BID Mouse: Logitech G502 Proteus Spectrum Keyboard: I don't even know Mouse Pad: SteelSeries QcK Headset: Turtle Beach X12

 

GitHub

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8537709
Share on other sites

Link to post
Share on other sites

6 minutes ago, TheProfessionalAmateurs said:

To be honest, it's not worth hosting your own website. Just use something like GoDaddy to host your website for pretty cheap.

 

5 minutes ago, Computer Encrypter said:

Thats probably the solution

Thanks, but I'm not looking for a third party to host my website for me, I want to host it myself for security purposes as companies like GoDaddy can be social engineered to give out information.

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8537734
Share on other sites

Link to post
Share on other sites

Just now, wrathoftheturkey said:

Hardware: depends on your needs. Whatever you decide on, though, I'd use Ubuntu and get the LAMP stack the other guy mentioned. You'll still need to rent a domain though

What would I do for when it came to outgoing and incoming mail?

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8537817
Share on other sites

Link to post
Share on other sites

32 minutes ago, Ryon said:

I was wondering, how would I go about making a home server that can host websites? I'm not looking to run Windows on it and run it with XAMP or something, I want it to be fully functional and be able to host websites, webmail, MySQL databases, etc.

As long as it doesn't need to be super high performance (like less than 3-5 users at a time) just use a Raspberry Pi.

Please spend as much time writing your question, as you want me to spend responding to it.  Take some time, and explain your issue, please!

Spoiler

If you need to learn how to install Windows, check here:  http://linustechtips.com/main/topic/324871-guide-how-to-install-windows-the-right-way/

Event Viewer 101: https://youtu.be/GiF9N3fJbnE

 

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8537819
Share on other sites

Link to post
Share on other sites

setting up a domain on a server is hard

windows, linux you name it, it's hard

 

the best webhosting software i know of is zpanel http://www.zpanelcp.com/

for email hMailServer https://www.hmailserver.com/

 

you use CMD to redirect the domain you want to your IP address (can't remember how to do this)

if you own windows server then use the addons you can get from server manger

****SORRY FOR MY ENGLISH IT'S REALLY TERRIBLE*****

Been married to my wife for 3 years now! Yay!

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8538324
Share on other sites

Link to post
Share on other sites

13 hours ago, Ryon said:

I was wondering, how would I go about making a home server that can host websites? I'm not looking to run Windows on it and run it with XAMP or something, I want it to be fully functional and be able to host websites, webmail, MySQL databases, etc.

 

- Install Linux (for newbie I recomment Ubuntu or CentOS)

- Install Apache or Nginx

- Install PHP7.0 FPM (this is the FastCGI implementation of PHP)

- Install any other additional apache/nginx mods

- Install MariaDB (better/faster than MySQL)

- Install PHPMyAdmin or similar (easier to manage databases than CLI)

- Install other security like fail2ban, etc...

- Configure IPTables ports and drop rules

- Configure Virtualhosts for your webserver

- Setup Domain name with registrar and configure host records

- Generate an RSA Key and on your server and get an SSL certificate

- Install the SSL certificate and CA certificates on your webserver. Convert into a PEM if needed by your webserver (depending which one you go for)

- Configure your Webserver settings & SSL Ciphers so you aren't open to attacks like Heartbleed, etc...

- Configure Linux user groups and sudoers access

- Install and configure an FTP daemon - personally i use vsftpd most of the time and put users into an ssh deny group.

- Decide on your webmail application e.g Roundcube and install and configure to your mail relay service.....assuming you arent trying to run mail on this same server?

- Preferably disable SSH password access to the server, and use certificate authentication.

- Install and configure a log analyser to analyze the various logs for the various applications/services. Possible SNMP trapping as well - there are free trapping platforms like Nagios that you can use for Linux.

 

 

Just wondering though....are you a security engineer, and are all your devices on your home network secured? Because tbh, If you're saying your biggest issue with using a host is security, and you're asking people how to set up a box to host websites.....there's a huge security hole here, which is a bigger risk than social engineering. And that is lack of security knowledge, and lack of monitoring.

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8540649
Share on other sites

Link to post
Share on other sites

8 hours ago, Jarsky said:

 

- Install Linux (for newbie I recomment Ubuntu or CentOS)

- Install Apache or Nginx

- Install PHP7.0 FPM (this is the FastCGI implementation of PHP)

- Install any other additional apache/nginx mods

- Install MariaDB (better/faster than MySQL)

- Install PHPMyAdmin or similar (easier to manage databases than CLI)

- Install other security like fail2ban, etc...

- Configure IPTables ports and drop rules

- Configure Virtualhosts for your webserver

- Setup Domain name with registrar and configure host records

- Generate an RSA Key and on your server and get an SSL certificate

- Install the SSL certificate and CA certificates on your webserver. Convert into a PEM if needed by your webserver (depending which one you go for)

- Configure your Webserver settings & SSL Ciphers so you aren't open to attacks like Heartbleed, etc...

- Configure Linux user groups and sudoers access

- Install and configure an FTP daemon - personally i use vsftpd most of the time and put users into an ssh deny group.

- Decide on your webmail application e.g Roundcube and install and configure to your mail relay service.....assuming you arent trying to run mail on this same server?

- Preferably disable SSH password access to the server, and use certificate authentication.

- Install and configure a log analyser to analyze the various logs for the various applications/services. Possible SNMP trapping as well - there are free trapping platforms like Nagios that you can use for Linux.

 

 

Just wondering though....are you a security engineer, and are all your devices on your home network secured? Because tbh, If you're saying your biggest issue with using a host is security, and you're asking people how to set up a box to host websites.....there's a huge security hole here, which is a bigger risk than social engineering. And that is lack of security knowledge, and lack of monitoring.

 

Thank you for your very detailed reply, I'm just feeling around and trying to get myself familiar with such things until I am fully ready to launch the project which still has a very long time to go.

Link to comment
https://linustechtips.com/topic/660196-home-server/#findComment-8543795
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×