Jump to content

[Solved] Resolve public subdomain to Heliohost domain


wmenezes

Recommended Posts

Hi,

 

Please, need assistance about configuration for public subdomain invest.tegmen.com.br resolution to (CNAME) wmenezes.heliohost.org

 

(note CNAME already set)

 

What Heliohost setup need to be done for that?

 

Thank you

Best Regards

Wesley Menezes

Edited by wmenezes
Link to comment
Share on other sites

Hi Wesley, for this to work and integrate with your cPanel properly, you will need to set up an addon domain within cPanel with the value of "invest.tegmen.com.br"This is because the CNAME actually just points your new subdomain to the IP address of wmenezes.heliohost.org, which is just the server. As the server is not configured to recognise your new subdomain and point it to your account, it will show an account queued page. Creating an addon domain will also create a new directory path such as `/public_html/invest.tegmen.com.br` by default, if you want to show exactly the same content as wmenezes.heliohost.org, I would recommend ensuring the path is just `/public_html/`.

 

The apache will need to restart for this to take effect. Depending on what server you're on this can take anywhere from 1 hour to 24 hours. You can use this status page: status.heliohost.dino.services to check whether the Apache server has restarted since you made the changes. For example, if the Apache uptime is 10 minutes, this means Apache server restarted 10 minutes ago. On mobile, you will need to enter landscape mode to view uptime.

Link to comment
Share on other sites

@Bailey: He can't. His attempt to add that will fail with a nameserver error because we don't support CNAME/A records for alias/addon domains. The only ways to make that domain work here is to use it as the main domain.

Link to comment
Share on other sites

@@wolstech, it does work, tired it myself before writing that: hh-test.dino-dns.network. And it should work because all Apache (normally) does is create a VirtualHost, which works as long as the domain is somehow pointed to the server, can be A/AAAA/CNAME or NS records as all they do is say "Oh, we found that record, look here for the content". The only issue I can see arising would be due to a cPanel DNS check, which I doubt it does.

Link to comment
Share on other sites

Weird. cPanel is supposed to make sure the domain has an NS record = NS1.heliohost.org and NS2.heliohost.org before allowing an addon or alias domain. By design, this is not supposed to work.

 

The fact it did is kind of odd. I thought maybe someone had turned on the allow remote domain option, but nope. I have no idea why this worked...

Link to comment
Share on other sites

It is strange if you intentionally tried to stop that behavior, though it would still work *as intended* if the user changed the CNAME record to an NS record, meaning the domain still wouldn't have to be the main one.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...