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 Quote
Seekier Posted June 9, 2021 Posted June 9, 2021 How to fix what? Because I don't see anything to fix Quote
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 Quote
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. Quote
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 Quote
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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.