natsuu Posted July 10 Posted July 10 Hello, I would like to request adding an addon domain to my account. Username : natsuu Server : Tommy Domain : natsu-scripts.fr Document Root : httpdocs/gag-2webui The domain's nameservers are already pointed to ns1.heliohost.org and ns2.heliohost.org. Thank you in advance for your help! Best regards
Krydos Posted July 11 Posted July 11 Is there some reason why the default document root won't work for you?
natsuu Posted July 11 Author Posted July 11 The Flask app requires the WSGI configuration (flask.wsgi + .htaccess) which is already set up in /httpdocs/gag-2webui/. If I use the default document root, the .htaccess rules would conflict with other services in subdirectories (/protector/, /wiki/, /items/). Keeping the addon domain pointing to /httpdocs/gag-2webui isolates everything cleanly.
Krydos Posted July 11 Posted July 11 The default document root is /natsu-scripts.fr/ and your main domain is in /httpdocs/ I would argue that putting a domain inside the document root of another domain will cause more interference than the default.
natsuu Posted July 11 Author Posted July 11 Got it, the default document root works for me. Please proceed. Thank you!
wolstech Posted July 11 Posted July 11 Domain added using default document root. It can take up to 2 hours to function. As for the document root being inside another, I agree with Krydos: Putting the document root of domain A inside of domain B has tons of weird issues and is not supported. Notably: Domain A would be accessible via domain B, configs applied to domain B may break domain A, and if domain B were to ever be renamed or deleted, domain A will lose all of its data and break.
natsuu Posted July 11 Author Posted July 11 Could you also install a Let's Encrypt SSL certificate for natsu-scripts.fr? I cannot install it myself. Thank you!!
wolstech Posted July 11 Posted July 11 2 hours ago, natsuu said: Could you also install a Let's Encrypt SSL certificate for natsu-scripts.fr? I cannot install it myself. Thank you!! You need to configure DNS on the domain so it's actually hosted here before a certificate can be installed. You can do that by either using our name servers (ns1.heliohost.org and ns2.heliohost.org) or by using A and AAAA records pointed to the IPs shown in Plesk.
Recommended Posts