cmh Posted June 9, 2021 Posted June 9, 2021 (edited) i need help with parking domain and set it as default.Server: tommyUser: cmhdomain: changemyhud.tk. error There was an error when the system attempted to create the alias. (XID ss5r7h) The domain “changemyhud.tk” already exists in the userdata.upd looks like it's added, but how fix this: Edited June 9, 2021 by cmh
cmh Posted June 9, 2021 Author Posted June 9, 2021 (edited) I can't enable force redirect to https via cpanel. Error under question mark on screen. its work for subdomain, but not for main Edited June 9, 2021 by cmh
wolstech Posted June 9, 2021 Posted June 9, 2021 There should be a subdomain called changemyhud.cmh.heliohost.org on the subdomains page that you can set the redirect on. An addon domain is just an alias parked on top of a subdomain.
cmh Posted June 9, 2021 Author Posted June 9, 2021 I just want redirect force http://changemyhud.tk/ to https://changemyhud.tk/. i think that this page do what i want. I don't need redirect sub to main
wolstech Posted June 9, 2021 Posted June 9, 2021 Nope. You typically do that with a rewrite rule in the .htaccess file, not in cPanel. Just be aware you have to add an exception for the .well-known folder if you want AutoSSL to work (the AutoSSL domain validation requires plain HTTP access to that folder). Here's another user who needed to do the same thing: https://www.helionet.org/index/topic/43391-forcing-website-access-using-https/ Krydos talks about it in detail there, including compatibility issues old OSes will experience when this is done. Example code in this post.
Recommended Posts
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