Multiple Websites on the same VPS Multiple Websites on the ...

Topic: Multiple Websites on the same VPS

Post Multiple Websites on the same VPS
by kovachjk on 2022年7月27日

Can I host different web servers from different domains from 1 VPS? None of them are high traffic

Reply with quote | Report
Post Re: Multiple Websites on the same VPS
by globb90 on 2024年6月29日

Yes, that is possible. With virual hosts in Linux.
Like bindings in windows iis.

Reply with quote | Report
Post Re: Multiple Websites on the same VPS
by borisperc on 2024年7月4日

kovachjk wrote:Can I host different web servers from different domains from 1 VPS? None of them are high traffic
Setup for linux:
config etc/hosts
example server ip 192.168.1.111
192.168.1.111 domain1 domain2 domain3 ecc..

config vhosts for apache server example:
nano /etc/apache2/sites-available/000-default.conf
VirtualHost *:80
servername domain1
....

next
VirtualHost *:80
servername domain2

ecc...

PS you can have multiple php version too use libapache2-mod-fcgid config for ich vhosts php7.2-fpm, php7.4-fpm, php8.0-fpm ecc.



Reply with quote | Report
2024年11月15日 2:21
Loading...