Jump to content

Subdomain Will Point To Another Website


MauroF

Recommended Posts

Today I created a subdomain (code.wolfcube.tk) for my main domain (wolfcube.tk or wolfcube.heliohost.org), but when I try and access the https version it will show a simingly random website, even though the URL bar will show my domain. So:

 

http://code.wolfcube.tk/index.html will show my normal index page, while https://code.wolfcube.tk/index.html will show content from the website albertnis.com.

 

I don't have a certificatge yet but it seems strange that this would happen as I would except an error message

.

EDIT: by pinging both websites it looks like albertnis.com is actually hosted by heliohost.

Link to comment
Share on other sites

It probably has something to do with SNI and the fact that all of the domains are hosted on the same IP. If you got a dedicated IP it wouldn't happen. Heliohost.org and Helionet.org are hosted on the same IP too, and there were certain https URLs that would show the wrong site. It seemed fairly random to me, but I didn't put a lot of effort into figuring out the pattern. My guess is that it has to do with the order of the VirtualHosts in the httpd.conf.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...