Hmm, I feel kinda weird to answer to my own thread. But I solved this “issue” by my own. It was kinda easy, but afterwards it seems always easy.
The steps I did:
- Added an email alias in the panel, in my case
hostmaster@cloud.domain.com
- Changed the directory under the
Web
tab forcloud.domain.com
to/home/user-data/www/cloud.domain.com
- Made an index.html with the following content which is from @just4t. I simply replaced
mail
withcloud
in the urls (thanks @just4t) :
With this method you can redirect everything, the 3 redirects I made were:
And as long as these are redirect, there is no problem with the SSL certificate I think.
Maybe this helps someone. Have a great time!