Multiple Websites on the ...
Multiple Websites on the same VPS
- 主页
- 后台控制中心
- Community Forum
- General Discussion
- Product Suggestions
- Multiple Websites on the same VPS
- Community Forum
- Multiple Websites on the same VPS
Topic: Multiple Websites on the same VPS
Can I host different web servers from different domains from 1 VPS? None of them are high traffic
Reply with quote |Report
Yes, that is possible. With virual hosts in Linux.
Like bindings in windows iis.
Like bindings in windows iis.
Reply with quote |Report
kovachjk wrote:Can I host different web servers from different domains from 1 VPS? None of them are high traffic
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
| Author | Topic: Multiple Websites on the same VPS |
|---|---|
|
kovachjk Joined: 2015/12/29 |
2022年7月27日星期三 下午3:20
Can I host different web servers from different domains from 1 VPS? None of them are high traffic
|
|
globb90 Joined: 2024/6/23 |
2024年6月29日星期六 上午2:23
Yes, that is possible. With virual hosts in Linux.
Like bindings in windows iis. |
|
borisperc Joined: 2023/3/11 |
2024年7月4日星期四 上午6:55
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. |
2026年6月13日星期六 上午6:35
