Support » Fixing WordPress » htaccess load other domain

  • Argh, I think I want something simple, but I can’t figure it out.
    I have installed WP in a subfolder of my main website (a network btw with subfolder setup):

    Now I have a domain name (different host, no serverspace) that I want to use, but as of now the domain just refers to the subfolder (DNS settings URL). I’d like to have behave like a ‘normal’ domain, with permalinks like

    I don’t even know if I’m looking for a mod_rewrite, 301 redict, DNS settings or something else…………

Viewing 4 replies - 1 through 4 (of 4 total)
  • It looks like I’m looking for “pointing”. This seems somehow logical, but then again, htaccess in general doesn’t look very logical to me 🙂

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/monas/
    RewriteCond %{HTTP_HOST} ^(www\.)?monas\.
    RewriteRule ^(.*)$ monas/$1 [L] is the domain that I want to use for serverspace located at In the DNS settings of I use the setting URL to In the WP install in the that subfolder I should use the above in the htaccess file, right…?

    The more I read about it and the more I try, the less I understand. I’ve been playing with another route: DNS settings. My domain has DNS settings, but no hosting. I now have an URL setting to which works (or used to at least), but it did nothing but forward and then everything was taken take of by What I would like is to have think the folder is its root. I’ve tested A records with server’s IP, but that didn’t work. So far everything I tried using htaccess has failed as well. Suggestions are welcome.

    rewrite seems the best way to go, but unfortunately I haven’t found anything that just works. Is it a combination of things perhaps?

    Something just occured to me. Should I make a CNAME record in the DNS settings of the domain that I want to use AND edit the URLs in the WP settings?

    I’m loosing my mind over this. There seem to be several options, none of them work. I have tried using htaccess without success, I’ve experimented with the DNS settings of, no success. Somebody even advised me to meddle with httpd.conf, but I seem not allowed to edit (or even see) it.

    Last night I had the most brilliant idea. What if I just make a network and use a plugin to map it? Also this proves to be WAY over my head.

    Let’s recapitulate:
    I have a domain with a subfolder network.
    I have a domain somewhere else with no hosting.
    I created a subdomain and installed a new website for which I want to use This now works with a simple DNS redirect, but I want to be a ‘real website’, a “mapped” one. Everything I’ve tried in the last few weeks failed utterly.
    My last test is to make into a network and map it. That didn’t work. I’ve created a new subsite and tried to map that one, that doesn’t work either. All instructions that I find are for people having two domains from the same host. Could somebody please advice me what to do with two domains at two hosts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘htaccess load other domain’ is closed to new replies.