Hosting multiple websites on one server? #2645
Replies: 3 comments
-
Hello, So, you must to configure individual vhost on your server: If you use apache, you can try to create different vhost on different ports, example: Apache2 /etc/apacha2/ports.conf my ports.conf
i am using multi https ports for multi https vhosts
and multi http port for multi http vhost
on /etc/apache2/sites-available
On proxy manager, you just only must configure your proxy hosts, based on port Example:
|
Beta Was this translation helpful? Give feedback.
-
You can use virtual IP address Like as the configuration above, you need to configure you server with multi IP address. 1 Method:
2 Metrod: If you user multi ip config, your /etc/apache2/ports.con, must to contain what's IP listen on port. Example ports.conf.
VHOST config
Ubuntu Multi IP config |
Beta Was this translation helpful? Give feedback.
-
Or you can use custom locations |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This seems like a super basic question but I’ve looked and looked and I can’t seem to find the answer. I have a (separate) Nginx container (on the same host as my NPM container) and I want to host multiple static websites on it. On that server, I have:
/www/larry
/www/curly
/www/mo
The test page in /www loads just fine but I want to configure 3 proxy hosts so that…
mo.mydomain.com goes to /www/mo
curly.mydomain.com goes to /www/curly
etc.
Please tell me how to set this up - and once it is setup, the url to access it. The web server is listening on 10.10.10.100:3380. Everything I’ve tried so far hasn’t worked.
Beta Was this translation helpful? Give feedback.
All reactions