Mobile app version of vmapp.org
Login or Join
XinRu657

: Use subdomain on different host I want to accomplish something that I thought was simple. My wish is as follows: I have a domainname with hosting, a WordPress multisite (with subfolder setup)

@XinRu657

Posted in: #301Redirect #Dns

I want to accomplish something that I thought was simple. My wish is as follows:
I have a domainname with hosting, a WordPress multisite (with subfolder setup) installed and running: gangleri.nl.
I have another domain at another host and without hosting: monas.nl

I created a subdomain on gangleri.nl: monas.gangleri.nl and the domain redirects to that subdomain.

Now what I want is to have monas.nl act like a website, not a website in a subdomain. I would like to have post urls as in monas.nl/posttitle.

I first thought to do this with the DNS settings of Monas.nl. I now have an URL forward, CURL is not what I want and I did not manage to get A-records or CNAMEs to work.

I tried using the htaccess file of the WP installation in monas.gangleri.nl. I tried 301, rewrite and whatnot, but also without success.

Meanwhile, I have been reading so much that I no longer have a clue what to do. A-record doesn't sound probable, since I have no IP for the subdomain, so an A-record would point to gangleri.nl rather than using the subdomain.
Also I have no idea if I should do something in the DNS settings of gangleri.nl or monas.nl, both, one of them and something somewhere else.
I have the idea that I've tried everything, but the more I try and read about it, the less I can get my head around. People talking about A-records to subdomains while I can only use IPs, CNAME settings that my host doesn't support or something.

Could somebody tell me if what I want is possible and if so, take me by the hand and guide me through it?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @XinRu657

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jennifer507

The A Record has to be set to the IP address of your WordPress installation, i.e. 83.137.194.17.

Then ask your web host to add an entry for this domain in its httpd-vhosts.conf pointing at the directory of your current domain gangleri.nl. And then you install the domain mapper plugin (tutorial) and let WordPress do the rest.

By the way: There is wordpress.stackexchange.com where you may ask more questions if you get stuck again.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme