# Deploy ember project on server

**URL:** <https://discuss.emberjs.com/t/deploy-ember-project-on-server/9754>\
**Category:** Uncategorized\
**Created:** [February 12, 2016, 4:33pm UTC](https://discuss.emberjs.com/t/deploy-ember-project-on-server/9754 "2016-02-12T16:33:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [February 17, 2016, 6:38pm UTC](https://discuss.emberjs.com/t/deploy-ember-project-on-server/9754/7 "2016-02-17T18:38:23Z")

</div>

Perhaps change the `baseURL` in `config/environment.js` to `'/url/app1/'` for [http://test.com/url/app1](http://test.com/url/app1)

```auto
if (environment === 'production') {
    ENV.baseURL = '/url/app1/';
}

```

And do the same for app2.

If needed place a `.htaccess` in embers public folder like this

> <https://github.com/broerse/ember-cli-blog/blob/21b6db2f7c520244602624a0df3ae80f4f2b10ed/public/.htaccess>

---

_[View the full topic](https://discuss.emberjs.com/t/deploy-ember-project-on-server/9754)._
