andreapollastri / cipi

Install and manage your server like a pro! With Cipi you don’t need to be a Sys Admin to deploy and manage websites and PHP applications powered by cloud VPS.
https://cipi.sh
1.08k stars 223 forks source link

Accessing the server IP using HTTPS redirect to website. #389

Closed donniewr closed 2 years ago

donniewr commented 2 years ago

Hello,

If you access the server IP using HTTPS you are redirected to the first website you added to the server, expected or a bug?

Example: https://123.123.124.10 ==>> https://mysite.com

I found this bug while looking at my website logs.

Thanks,

andreapollastri commented 2 years ago

Hi! it's an organic behavior ! IP does not support https and Cipi (as cpanel and similar) returns the first https site! If you want use https with cipi you have to assign a panel domain and generate let's encrypt from panel!