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 Wednesday, July 27, 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 Saturday, June 29, 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 Thursday, July 4, 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
Thursday, July 4, 2024 9:42 AM
Loading...