# Attempting to install Discourse on private Apache Server

**URL:** https://meta.discourse.org/t/attempting-to-install-discourse-on-private-apache-server/59586
**Category:** Self-hosting
**Created:** [March 20, 2017, 11:28pm UTC](https://meta.discourse.org/t/attempting-to-install-discourse-on-private-apache-server/59586 "2017-03-20T23:28:02Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 26, 2017, 2:59pm UTC](https://meta.discourse.org/t/attempting-to-install-discourse-on-private-apache-server/59586/8 "2017-03-26T14:59:55Z")

</div>

> [@naupe](#):
>
> Still getting “Server Not Found” when I go to the URL discourse.[my\_hostname] (the Hostname I want my Discourse to be). I

If you want [yourdomain.com](http://yourdomain.com) to point to your server, you need to update your DNS records with your registrar (unless you’ve delegated DNS to some other servers). This has nothing to do with Discourse.

> [@naupe](#):
>
> Jay Pfaffman: Well,

When you mention people in Discourse, if you want them to know that you mentioned them, you type an `@` and then their username, like @naupe.

If you want to install Discourse and Apache (and you have said nothing that implies that you do), you should follow [these instructions](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013). **But, really, you should remove or disable Apache.**

> [@naupe](#):
>
> Line 23: Changed http “80:80” to “10080:10080”

No. See the instructions I linked to or remove Apache. (Something like `1080:80` would be closer to what you are trying to do, but that’s not what you want to do.)

My advice:

```plaintext
sudo su -
apt purge apache
cd /var/discourse
rm containers/app.yml
./discourse-setup

```

Answer the questions. Don’t enable let’s encrypt. If [http://nexus-matt.org](http://nexus-matt.org) is pointing to your Apache server, use that domain name for Discourse.

If your mail config doesn’t work, which seems likely to be your next problem, you can create an account like this:

```plaintext
sudo su - 
cd /var/discourse
./launcher enter app
rake admin:create

```

BTW, the two major hosting services have free trials. For $0.36/day you can try it out on Digital Ocean. If you use a referral link (there’s one on [my site](https://www.literatecomputing.com/product/discourse-install/)), you’ll get a $10 credit on Digital Ocean, so you’ll get your first month free.

---

_[View the full topic](https://meta.discourse.org/t/attempting-to-install-discourse-on-private-apache-server/59586)._
