Title: Multiple Hostnames, Single Blog
Last modified: August 19, 2016

---

# Multiple Hostnames, Single Blog

 *  [tomacco0](https://wordpress.org/support/users/tomacco0/)
 * (@tomacco0)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-hostnames-single-blog/)
 * Can it be done?
    If not, why not Else, how? :3

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [tomacco0](https://wordpress.org/support/users/tomacco0/)
 * (@tomacco0)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-hostnames-single-blog/#post-1971985)
 * I’m trying to maintain a single blog but only show posts from a particular category
   for a certain host name :/
 *  Thread Starter [tomacco0](https://wordpress.org/support/users/tomacco0/)
 * (@tomacco0)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-hostnames-single-blog/#post-1972104)
 * I found [http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category](http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category)
   but it’s not going to change the domain in links, etc :/
 *  [arkgroup](https://wordpress.org/support/users/arkgroup/)
 * (@arkgroup)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-hostnames-single-blog/#post-1972124)
 * tomacco0,
 * It’s a bit challenge. Well, it is possible. As I understood it should be just
   one database and 3 blogs with different categories. I personally have such solution:
 * 1. Install 3 wordpress blogs on each hostname and use the same wp-config.php 
   for all 3 blogs. It will allow you to use 1 database for 3 blogs.
 * 2. You’ll need some custom code changes to get only the category you want from
   the database for different hostname.
 * May be it would be easier just to install and maintain 3 different blogs.
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-hostnames-single-blog/#post-1972128)
 * Install WordPress.
 * Go multisite – [Create A Network](http://codex.wordpress.org/Create_A_Network)
 * Install [Domain Mapping plugin](http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/)
   to point domain names to server and to respective subblogs.
 * Automatically get recent posts from all sub-blogs in main site.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multiple Hostnames, Single Blog’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-hostnames-single-blog/#post-1972128)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
