I have more than one (4 to be exact) domains and only one server host with same ip. How I can run all my domains from same server. All websites are wordpress sites.
feedback
|
migrated from wordpress.stackexchange.com Feb 14 at 18:48
This question came from our site for WordPress developers and administrators.
|
If you are running Apache on your web server then you should use Name-Based Virtual Hosting, which is explained in the Apache Documentation. | |||||
feedback
|
|
I use the following code in the
Basically this redirects any domain that isn't This way you avoid any crossdomain violations (with embedded fonts for example), all your sites are accessible from all domains but you only have a single root domain so far as users, bookmarks and search engines are concerned. You may also want to read this google webmaster blog on canonical urls. | |||||||||||
feedback
|