Submitted by dfrm on Tue, 11/21/2017 - 02:11
Hello,
I have main virtual server: prohormony.sk and I want to add kind of aliases - prohormones.hu and prohormones.ro
I want these 2 domains to have the same root as prohormony.sk, we have set it up but when I open them I get No input file specified.
When we set it up as aliases we get redirected to prohormony.sk because of redirects set at prohormony.sk config to redirect everything to https://
Also we were told we can only have 1 server block in config so we cannot separate them.
Status:
Active
Comments
Submitted by JamieCameron on Tue, 11/21/2017 - 03:36 Comment #1
Ok, so you want it so that if a user accesses http://prohormones.hu/ , they will get redirected to https://prohormones.hu/ rather than https://prohormony.sk/ ?
Submitted by dfrm on Tue, 11/21/2017 - 04:42 Comment #2
Well the website will be running at https:// so users will be redirected to non-www version and I want to load the content of prohormony.sk kind of masked alias
Submitted by dfrm on Tue, 11/21/2017 - 04:42 Comment #3
If user goes to prohormones.hu I want to load the same content as prohormony.sk
Submitted by JamieCameron on Tue, 11/21/2017 - 14:47 Comment #4
right ... but if the user goes to prohormones.hu and is redirected to SSL, do you still want the URL to show prohormones.hu ?
Submitted by dfrm on Wed, 11/22/2017 - 02:40 Comment #5
yes basically I want everyrhing redirected to https:// meaningn:
http://prohormones.hu www.prohormones.hu http://www.prohormones.hu https://www.prohormones.hu
to https://prohormones.hu
Submitted by JamieCameron on Wed, 11/22/2017 - 08:53 Comment #6
Unfortunately that's not something we support currently (because it isn't trivial to implement in Apache)
Submitted by dfrm on Thu, 11/23/2017 - 00:48 Comment #7
so there isnt any way we can set this up? Even with multiple server blocks ?
Submitted by JamieCameron on Thu, 11/23/2017 - 13:15 Comment #8
Currently, no - however, this is a pretty good feature request, so I will look into adding support for it.
Submitted by dfrm on Tue, 12/05/2017 - 06:05 Comment #9
well cant we even support something like this:
create separate domain prohormones.hu set root directory the same as prohormony.sk in php I will check the domains and redirects?
Submitted by JamieCameron on Tue, 12/05/2017 - 18:26 Comment #10
Sure, that could be done, and that's likely how it will be implemented. However, there is much complexity in Virtualmin when creating new domains that has to be handled.
Submitted by dfrm on Wed, 12/06/2017 - 00:16 Comment #11
hm so u think now its impossible to set up ?
Submitted by JamieCameron on Wed, 12/06/2017 - 22:15 Comment #12
For now, yes.