Host multiple websites on a single Apache Web Server using VirtualHosts (SSL also)

preview_player
Показать описание
In this video we will configure an Apache Web Server to serve 2 websites. I'm using AWS Lightsail but you can use other cloud providers as long as you are allowed to reconfigure Apache.

Chapters
00:00 Intro
01:45 Create the Lightsail instance
08:46 Create a second website
10:18 Create VirtualHost for the second website
17:44 Enable SSL on both websites
Рекомендации по теме
Комментарии
Автор

Unreal video, clear, concise and easy to follow. Thank you brother

TheAdventureLabs
Автор

Thank you very much. This was very helpful.

However, I would like to know how can I have SSL for multiple different domains on the same server? In your video, it's the SSL for the same domain - just different subdomains.

HuzanForbes
Автор

Thank you for the video. It is working for me with two websites (default htdocs directory is one, new folder for a vhost is second), but when I add a third website it is pointed to the default htdocs directory as well. I created a new vhost section for each domain. What should i do to fix it?

guiperalta
Автор

What if I want to render my sitefirst page under sitesecond url and render sitefirst under sitefirst. What I mean is i want keep my sitesecond url but render sitefirst page.

curious__chronicles