Project #22: GurenCodes website (v1) and learning Apache virtual hosts and Bootstrap

1girl armrest black_choker bra_strap can chair choker computer computer_keyboard computer_mouse cross cross_earrings drink_can ear_piercing earrings glasses greyscale hand_up highres jewelry looking_at_viewer medium_hair messy_hair monochrome monokurocorp monster_energy one_side_up original piercing puriririririri shirt sitting solo table thighs v wavy_mouth

Estimated date of creation: May 7th, 2025 (in progress)

Status: Online 🟢

I had learned a lot about hosting websites when I hosted by Vichan 4chan clone to www.maochan.org using Nginx, and when I hosted Jordanislame.com on an Apache server. But my two things I run Linux servers through are usually a VMware Workstation emulation (which would involve using my own personal network for serving), and a Linode cloud VPS server. For a few reasons, hosting from my own PC doesn’t really work. I’m also a bit paranoid about hackers attacking my home network anyways. So I usually use the cloud. But running 10 different servers to run 10 different websites would be expensive, wouldn’t it? Linode charges you for each one that is running. So I decided to start running multiple websites from my server computers in all cases. With Apache, that involves learning virtual hosts. (there’s a similar concept possible for Nginx btw) The easiest video I’ve seen on how to set this up is this one. Apache is an HTTP server, and having multiple websites stored in the website folders is not necessarily harder on the computer or the server than haveing one site per server. That’s because if one site is dead and the other is busy, the only thing the dead site is doing to the computer is taking up some storage space in the site folder. And if both sites are busy, it just means twice the number of HTTP requests as one site of that traffic level.

The virtual host thing is the interesting part about this website you’re reading. I forget if I had to do something special to make the domain names resolve to the same IP address. Check out this GitHub repo (I may or may not have it set to public) if you want to see how I set up the virtual hosts for an Apache server.

And I was lazy with the CSS on this website, so I just used Bootstrap, so a lot of the tables and fonts that you’re looking at are made out of prebuilt Bootstrap things. I built the animated rainbow text myself, though, and I made that like 3 years ago for the meme soundboard.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *