How Can I Host Multiple Websites on One Public IP?

0
7
Asked By CuriousCat101 On

Hey everyone! I'm relatively new to networking and I'm diving into creating a website as a fun learning project. I want to run a forum using Discourse and also some custom HTML pages on a server that a family member lent me. I've already purchased a domain from Cloudflare and set up an email for the Discourse setup, but I'm concerned about how to direct incoming traffic properly. Since I only have one public IPv4 address, is there any way to host both the forum and my custom site without any issues? I'd appreciate any insights or advice from those experienced with Discourse or similar setups. Thanks!

1 Answer

Answered By TechieTom56 On

What you need is called Server Name Indication (SNI). Most modern webservers and reverse proxies, especially those developed in the last 15 years, handle this without a hitch. It helps your server identify which site to serve based on the incoming request.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.