Posted March 4Mar 4 comment_681 I would like to customize the hostname.conf and hostname-ssl.conf template files for HTTPD. However, it appears that these are assigned by default by CWP for the hostname, but there is no way to change these assignments to custom templates from the admin panel interface as far as I can tell. It is only possible to change templates as a general default in WebServers Main Conf (where custom templates are not displayed as an option), or under WebServers Domain Conf (where only hosted domain configurations are available). I would like to use custom templates if possible rather than editing hostname.conf and hostname-ssl.conf from WebServers Conf Editor to avoid overwrites during updates. Is there an option I'm missing to do that? Thanks!
March 5Mar 5 comment_696 hi why do you want to change the hostname template ? are you hosting anything on the hostname subdomain?
March 5Mar 5 Author comment_698 I've been using Certbot with the Cloudflare DNS option for the hostname certs and a different cert storage location than the template. It gets overwritten on hostname rebuilds or potentially some updates, so it would be nice to have a custom template.
March 7Mar 7 comment_706 for the hostname you don't need to use certbot, go to cwp admin >> change hostname >> hit the change hostname button this will issue an LE cert
March 7Mar 7 comment_708 On 3/5/2024 at 8:58 AM, Sandeep B. said: hi why do you want to change the hostname template ? are you hosting anything on the hostname subdomain? I think i have scrapped this idea already i made a new standard/default page that i wanted to host there, but i just used the chattr +i index.html so it wont be overwritten, that would be easier
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now