Steve beat me to it, I've done multiple domain names going to the same web server on a single IP, as he says nginx is pretty trivial (as I remember), Apache did it too (as I remember - not 20 years ago, but long enough ;-)

On 7/10/23 01:50, Steve Litt via PLUG-discuss wrote:
Keith Smith via PLUG-discuss said on Sun, 09 Jul 2023 12:33:36 -0700

Hi,

Was looking at the raspberrypi this morning and it brought me to the
same place I have come to several times in the post.
Lots of people have answered your question. If it turns out none of
those answers pans out, you can have a bunch of websites on one IP. You
can have index.html have a small bit of javascript to pull up a
different website depending on the requested URL. If you use nginx,
it's even easier because you simply configure nginx.conf to do that for
you: Much cleaner. I think Apache has something similar, and 20 years
ago I could tell you how to do it, but 20 years is a long time.

Also, if you're speaking of web servers, many shared hosting web
web hosts allow you multiple domain names.

and some hosting services have all that pretty much built in.  you just put your web server files in the right subdirectories (hint - there is a subdir who's name is the domain of interest), and there you go.
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to