Skip to main content

Redirection problem to http://mydomaine.com/cgi-sys/defaultwebpage.cgi

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! You definitely don't want to edit the /usr/local/cpanel/htdocs/index.html file or the Apache configuration directly as that will likely just lead to other issues. It sounds like you were on the right track with the DNS change. This issue is almost always caused by a mismatch between the DNS record for the domain and the IP address the domain is configured to use in Apache. What you are seeing at this time is likely DNS propagation, especially if you don't see anything odd from IntoDNS. Since it has been almost 24 hours since you posted this, are you still seeing problems with the site?
    0
  • prettyallo
    Hey there! You definitely don't want to edit the /usr/local/cpanel/htdocs/index.html file or the Apache configuration directly as that will likely just lead to other issues. It sounds like you were on the right track with the DNS change. This issue is almost always caused by a mismatch between the DNS record for the domain and the IP address the domain is configured to use in Apache. What you are seeing at this time is likely DNS propagation, especially if you don't see anything odd from IntoDNS. Since it has been almost 24 hours since you posted this, are you still seeing problems with the site?

    Hi Jurassic Moderator Yes, it was a DNS problem. But not directly to the registrations. The problem was related to IPv6. My domain mydomai.com resolves to an IPv6 and IPv4 address, but had not been configured with IPv6 on my server (only with IPv4). As a result, visiting computers with IPv6 available were not able to load the correct site. That's why the page was redirecting to the default website page from some locations, but other locations were loading the site without problems without redirection. To correct the problem I had to add the IPv6 address of my server (provided by my host. Or you can also get it with the command [CODE=bash]$ dig AAAA mydomain.com +short
    ) to my server via WHM -> IPv6 Ranges. I then assigned this range to the main account via WHM -> Assign IPv6 Address. My site now loads from every location, if IPv6 is available on the visiting machine or not. Thank you. Problem solved :cool: Ps: credit to cpanel technical support, who provided me with the solution and at the same time the explanation to this problem :);)
    0
  • cPRex Jurassic Moderator
    I'm glad things are working well now!
    0

Please sign in to leave a comment.