# Discourse server FQDN & email settings help?

**URL:** https://meta.discourse.org/t/discourse-server-fqdn-email-settings-help/47922
**Category:** Self-hosting
**Created:** [2016年七月28日 15:13 UTC](https://meta.discourse.org/t/discourse-server-fqdn-email-settings-help/47922 "2016-07-28T15:13:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mattzees](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Mattzees](https://meta.discourse.org/u/Mattzees)
#### Post date: [2016年七月28日 15:13 UTC](https://meta.discourse.org/t/discourse-server-fqdn-email-settings-help/47922/1 "2016-07-28T15:13:35Z")

</div>

Hello World,

I’ve got a Discourse server running at home for testing purposes (it looks awesome, btw) but I’m confused about how to configure the FQDN and email settings. I had to gain access to an administrative account through the command line, so that’s done, but I still need to get email working.

Here’s the situation:

Discourse server is on my home LAN.  
The hostname = myhomeserver

I have a email account configured with my webhost for the server to access in order to send out confirmation emails. This email account is tested and working, so I know the problem is not with the account or my webhosting company. Let’s call this account “[admin@mywebhost.com](mailto:admin@mywebhost.com)”

I have a FQDN via Dynamic DNS that I can use to make the Discourse server reachable from the WAN. Let’s call it “[myFQDN.com](http://myFQDN.com)”

How do I configure Discourse to use an email account at “[mywebhost.com](http://mywebhost.com)”, but be reachable at “[myFQDN.com](http://myFQDN.com)”?

Would these be the correct settings?  
hostname = myhomeserver  
FQDN = [myFQDN.com](http://myFQDN.com)  
email address = [admin@mywebhost.com](mailto:admin@mywebhost.com)

It seems like the FQDN and email address would cause problems because they’re not on the same domain.  
I apologize if this is super easy, but I’m not getting it. Thanks.

–Matt

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016年七月28日 21:52 UTC](https://meta.discourse.org/t/discourse-server-fqdn-email-settings-help/47922/2 "2016-07-28T21:52:20Z")

</div>

Check the /logs page in your web browser, or the logs inside the docker container. See the exhaustive email troubleshooting topic we already have around this in the #howto category.
