# Multiple Wordpress Apps

**URL:** https://forums.suse.com/t/multiple-wordpress-apps/9973
**Category:** Rancher 2.0 Tech Preview
**Created:** [April 5, 2018, 1:53pm UTC](https://forums.suse.com/t/multiple-wordpress-apps/9973 "2018-04-05T13:53:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![actionspec](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@actionspec](https://forums.suse.com/u/actionspec)
#### Post date: [April 5, 2018, 1:53pm UTC](https://forums.suse.com/t/multiple-wordpress-apps/9973/1 "2018-04-05T13:53:29Z")

</div>

Top of the morning everyone!

**So, here’s my intent:**

I have 4 websites, lets say 2 Magento sites, and 2 WordPress sites. Lets call them:

[myreallyawesome-wordpresssite.com](http://myreallyawesome-wordpresssite.com)  
[pleasekillmenowbecausemagentoisabitchtoinstall.com](http://pleasekillmenowbecausemagentoisabitchtoinstall.com)  
[justanotherwordpresssite.com](http://justanotherwordpresssite.com)  
[finallyigotmagentoworking.com](http://finallyigotmagentoworking.com)

I have some template containers that I am going to bake the source code into, then launch.

I do plan to use the load balancers to do SSL termination since everything behind that is secured via IPSEC or whatever Rancher is doing in the new version.

I’m running this in AWS, one node is control, the other two are workers. The cluster in question is called ‘shared’ since these are all ‘shared sites’.

That being said - I’m trying to get my head around how Kubernetes in the context of Rancher 2.0 will handle all this - and what the best practice might be.

Am I looking at this wrong? Should each site have their own cluster? I’d rather keep everything in one cluster so I’m not provisioning machines all over the place. I’m trying to keep cost down for when I take this idea to production.

---

<div class="post-metadata">

### Author: ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)
#### Post date: [April 5, 2018, 3:40pm UTC](https://forums.suse.com/t/multiple-wordpress-apps/9973/2 "2018-04-05T15:40:46Z")

</div>

One cluster, one project (unless different people manage different sites) and one namespace per site. Add ingress rules to direct requests based on the incoming host header.

---

<div class="post-metadata">

### Author: ![actionspec](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@actionspec](https://forums.suse.com/u/actionspec)
#### Post date: [April 5, 2018, 6:37pm UTC](https://forums.suse.com/t/multiple-wordpress-apps/9973/3 "2018-04-05T18:37:24Z")

</div>

Thanks Vincent!

So, I added an ingress but it seems to go nowhere. What’s the workflow for properly configuring an ingress setup in 2.0 - do I still have to do it through kubectl or is this all in the main interface?

---

<div class="post-metadata">

### Author: ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)
#### Post date: [April 5, 2018, 11:00pm UTC](https://forums.suse.com/t/multiple-wordpress-apps/9973/4 "2018-04-05T23:00:11Z")

</div>

Kubernetes wants the names of everything to be DNS labels (a-z, 0-9, and hyphen, plus some other restrictions) and doesn’t like uppercase letters wither. Most places we automatically lowercase them but this is not one of them… [https://github.com/rancher/rancher/issues/12499](https://github.com/rancher/rancher/issues/12499)
