# Installation on v-server as a subfolder with other services in subfolders using apache

**URL:** <https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731>\
**Category:** Self-hosting\
**Created:** [2016 年 2 月 17 日午後 12:33 UTC](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731 "2016-02-17T12:33:08Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2016 年 2 月 21 日午後 3:06 UTC](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731/20 "2016-02-21T15:06:39Z")

</div>

> [@JohnDoe1](#):
>
> The activation link still starts with “[http://http](http://http)://…”, could this be caused by discourse.conf in the nginx/conf.d?

Ah, I didn’t catch that before:

```plaintext
DISCOURSE_HOSTNAME: 'http://domain.com'

```

That’s wrong, you shoud only include the hostname itself, i.e. `domain.com`.

---

_[View the full topic](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731)._
