# Moving to subdomain

**URL:** https://meta.discourse.org/t/moving-to-subdomain/86508
**Category:** Support
**Created:** [May 1, 2018, 5:00am UTC](https://meta.discourse.org/t/moving-to-subdomain/86508 "2018-05-01T05:00:50Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 1, 2018, 5:10am UTC](https://meta.discourse.org/t/moving-to-subdomain/86508/2 "2018-05-01T05:10:39Z")

</div>

> [@crussells](#):
>
> Would anyone know if its possible to move it on to a subdomain rather than having it on the root?

Yes, it is possible, The amount of work depends upon how much active content you have. This migration may include some downtime as well.  
I don’t know exactly about your setup but this guide can be a good reference for what you want:

> [@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 …

> [@crussells](#):
>
> am I able to still host pages external to discorse on the same droplet?

You can do that, but it requires additional set of configuration to your droplet.  
Here is a Guide for that:

> [@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…

> [@crussells](#):
>
> would I just install LAMP on the droplet?

That can be done but I’d recommend a LEMP stack instead (it makes things much easier)

---

_[View the full topic](https://meta.discourse.org/t/moving-to-subdomain/86508)._
