Skip to main content

Changing subdomain that will access files

Comments

2 comments

  • 24x7server
    Hi, "@" represents the current root domain, so check the DNS section that has domain name DNS records.. If possible send in a screenshot with blurring the other information that could be critical.
    0
  • cPanelMichael
    So ideally, I want people to be able to go to example.us and be taken to the domain.com page (or redirected to example.us), but only if there is nothing after the ".us", because I need to display my PHP page within the domain.com site.

    Hello, If you point "domain.tld" to a remote server via a DNS record, then access attempts to "domain.tld/subdirectory" will resolve to the remote server's IP address because you can't make separate DNS records for subdirectories. Instead, you may want to setup a subdomain that points to the remote server, and then setup Mod_Rewrite rules that redirect requests made to the domain name (and not it's subdirctories) to the subdomain. Thank you.
    0

Please sign in to leave a comment.