-
I already have WordPress running on the main domain and now I am trying to create a subdomain for Django application.
I am following DigitalOceacn tutorial to setup Apache2 virtual hosts
I created the config files at
/etc/apache2/sites-available/and when restarting Apache2 I get this error:
I appreciate any pointers or suggestions if there is a better way?
-
@salturki are you sure you using cloudron?
Seem you doing on your own server to build apache server than cloudron. If you use cloudron I would never touch these because cloudron will push update these every time overwrite all configure. So installing app or package behind cloudron will not sucess.
-
@salturki said in Hosting subdomain with Apache2 virtual hosts:
I am following DigitalOceacn tutorial to setup Apache2 virtual hosts
You're doing it wrong. Please read the Cloudron docs and limitations. If you want to host something on a subdomain that is not provided by Cloudron, you have to host on another server and point your domain there.
Do not mess with the OS while Cloudron is running and maintaining your server.
-
I am tempted to move this to off-topic but will wait to see if @salturki responds.
-