wmenezes Posted January 8, 2021 Posted January 8, 2021 (edited) 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 youBest RegardsWesley Menezes Edited January 8, 2021 by wmenezes
Bailey Posted January 8, 2021 Posted January 8, 2021 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.
wolstech Posted January 8, 2021 Posted January 8, 2021 @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.
wmenezes Posted January 8, 2021 Author Posted January 8, 2021 Simply amazing! thanks for so clear instructions, it worked! I could see time when apache restarts as well, many thanks once again! Regards
Bailey Posted January 8, 2021 Posted January 8, 2021 @@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.
wolstech Posted January 8, 2021 Posted January 8, 2021 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...
Bailey Posted January 8, 2021 Posted January 8, 2021 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.
wmenezes Posted January 8, 2021 Author Posted January 8, 2021 (edited) Ah, I could see entries in Domains configuration, Many thanks for the help! Edited January 8, 2021 by wmenezes
Recommended Posts