Support » Fixing WordPress » Catch all DNS and subdomain DNS

  • Resolved voopress

    (@voopress)


    I have two sites. One is a subdomain site and the other is a subdirectory site.
    I have some users who started their sites as a subdomain but now want to have a subdirectory while keeping the subdomain name. This is not an issue using standard apache virtual hosting for example where I can simply have a virtualhost then in it’s html directory, put a small index.php file which redirects the user to http://www.mydomain.com/users-new-blog.

    Since I have a catch all DNS for the subdomain site, is there a directory where I could put my index.php file for example, in order to redirect users to the subdirectory site?

Viewing 1 replies (of 1 total)
  • I guess no one knows the answer to this.
    One solution if I can’t get any answer would be to manually create the sub-domain in the dns record so that the catch all doesn’t get it. Then have that particular name sent to a virtualhost which in turn does have my php snippet redirecting.

    But, it would be so much easier if I could simply do this on WP 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Catch all DNS and subdomain DNS’ is closed to new replies.