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 27 July 2022

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 29 June 2024

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 04 July 2024

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
21 December 2024 04:37
Loading...