What do you exactly mean when you say WordPress breaks? What happens?
My gut feeling is that this doesn’t seem to be a WordPress issue but sounds more like a web hosting issue.
Can you take help for your own hosting provider?
Click the links and look. I have http://sanonline.co.uk which works perfect with a normal website.
Basically, the domain name will be used as normal, it’s not just a mask or a redirection. But WordPress is installed at http://dm.draignet.uk so it’s trying to source everything from that address instead of http://drivewaymodified.uk
When you use WordPress.com they get you to use domain mapping in order for this to work. So how can I get domain mapping on my WordPress installation?
Oh ok, honestly I am not so sure. However, if I am of any help I found this plugin which I think may be useful:
https://ww.wp.xz.cn/plugins/wordpress-mu-domain-mapping/
Also not sure if you are using WordPress.com. If yes, then you may want to switch over to the WordPress.com support.
You can get help here: https://en.support.wordpress.com/
Sorry and really hope that plugin does the trick.
~Tanveer
I’ve set up network sites but I still can’t figure out the domain mapping. It’s very very complicated. I may have to remove WordPress and just use something else as this is far too much work.
Have you tried getting support over at WordPress.com?
Put this in your htaccess file and it will remove the need for the plugin
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.olddomain.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^olddomain.com$ [NC]
RewriteRule ^(.*)$ “https\:\/\/www\.newdomain\.com\/$1” [R=301,L]