# Put forum under sub-domain and have website

**URL:** https://meta.discourse.org/t/put-forum-under-sub-domain-and-have-website/62646
**Category:** Support
**Created:** [13 במאי,‏ 2017,‏ 10:16am UTC](https://meta.discourse.org/t/put-forum-under-sub-domain-and-have-website/62646 "2017-05-13T10:16:12Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [13 במאי,‏ 2017,‏ 11:17am UTC](https://meta.discourse.org/t/put-forum-under-sub-domain-and-have-website/62646/2 "2017-05-13T11:17:23Z")

</div>

> [@TheAdmin2](#):
>
> I have the forum like this www.xxxxxxxxx.se but I want it like forum.xxxxxxxxx.se

This takes a few steps, but there’s a good tutorial here:

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/16098):
>
> bookmark This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name. warning This guide is for self-hosted Discourse instances that were installed using our [installation guide on GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). If you are [hosted by Discourse](https://www.discourse.org/pricing), please see [Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827) for specific …

> [@TheAdmin2](#):
>
> I want www.xxxxxxxx.se to be a wordpress site (I have server for this already) with a link to the forum on top of the site.

If you want this to run on a separate server, that’s fine – in that case, this isn’t Discourse-specific. You can also host this on the same server, in that case, this tutorial is relevant to get you started:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

---

_[View the full topic](https://meta.discourse.org/t/put-forum-under-sub-domain-and-have-website/62646)._
