Skip to main content

Changing primary domain to parked domain issue

Comments

5 comments

  • cPanelLauren
    Hi @roadpaperweight Was domain.net already added to the account prior to making these changes? Can you show me the contents of the following of course switching the domain names to domain.cl and domain.net before posting: grep DNS /var/cpanel/users/$username cat /var/cpanel/userdata/$username/main
    0
  • roadpaperweight
    Hi @roadpaperweight Was example.net already added to the account prior to making these changes? Can you show me the contents of the following of course switching the domain names to example.com and example.net before posting: grep DNS /var/cpanel/users/$username cat /var/cpanel/userdata/$username/main

    Thanks for the response. The original domain was example.com. The new domain is example.net. What I did was modify account > changed the domain name to example.net which had never been on the server before. I then parked example.com. grep DNS /var/cpanel/users/$user output DNS=example.net DNS1=example.com cat /var/cpanel/userdata/$username/main output --- addon_domains: {} main_domain: example.net parked_domains: - example.com sub_domains: [] I also went to redirect-checker.org/ to see what is says and for the new domain, example.net it gave me >>> example.net > -------------------------------------------- > 301 Moved Permanently > -------------------------------------------- Status: 301 Moved Permanently Code: 301 Date: Wed, 11 Apr 2018 17:55:44 GMT Server: Apache X-Pingback: http://example.com/xmlrpc.php Upgrade: h2,h2c Connection: Upgrade, close Location: https://example.com/ Content-Type: text/html; charset=UTF-8
    >>> example.com > -------------------------------------------- > 200 OK > -------------------------------------------- Status: 200 OK Code: 200 Date: Wed, 11 Apr 2018 17:55:46 GMT Server: Apache X-Pingback: https://example.com/xmlrpc.php Link: https://example.com/wp-json/; rel="", <
    0
  • cPanelLauren
    Hi @roadpaperweight please note that I removed the actual domain name from the post. Originally the domain was example.com - in the documentroot for this do you have a CMS installed (like wordpress?) After you modified the domain to example.net did you also update the site URL information? Thank you,
    0
  • roadpaperweight
    Hi @roadpaperweight please note that I removed the actual domain name from the post. Originally the domain was example.com - in the documentroot for this do you have a CMS installed (like wordpress?) After you modified the domain to example.net did you also update the site URL information? Thank you,

    Wow. How embarrassing. That was the problem. Thanks for you help. I really appreciate it.
    0
  • cPanelLauren
    Hi @roadpaperweight No worries, you're most welcome! I'm happy we found the cause of the issue! Thank you,
    0

Please sign in to leave a comment.