How to point domain B tot domain A without redirect in directadmin keeping HTTPS/SSL?

半腔热情 提交于 2020-01-30 11:22:07

问题


I'd like to point bla.com to bla.org without a redirect using directadmin on a shared hosting. How would I do this? Are there things to consider regarding SEO? I use a ALIAS pointer at the moment (Domain pointer -> Create as an Alias). However if I type https://bla.com it won't work.


回答1:


It's impossible to redirect from a https domain unless you provide a valid certificate for this domain in the first place. The certificate must match the domain you access even if you just want to redirect from it, i.e. bla.com in your case. It does not matter if this is a redirect on the HTTP level (i.e. code 301, 302) which changes the URL or if this is an alias (CNAME) or just address (A, AAAA record) at the DNS level in which case the URL does not change.



来源:https://stackoverflow.com/questions/39581757/how-to-point-domain-b-tot-domain-a-without-redirect-in-directadmin-keeping-https

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!