# DNS et Discourse

**URL:** <https://meta.discourse.org/t/dns-and-discourse/171559>\
**Category:** Self-hosting\
**Created:** [Novembre 28, 2020, 9:57 UTC](https://meta.discourse.org/t/dns-and-discourse/171559 "2020-11-28T09:57:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![aaronk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaronk/32/201554_2.png) [@aaronk](https://meta.discourse.org/u/aaronk)\
**Post date:** [Novembre 28, 2020, 11:13 UTC](https://meta.discourse.org/t/dns-and-discourse/171559/3 "2020-11-28T11:13:11Z")

</div>

httpd fonctionne sur le port 443. Il s’agit du site web [example.com](http://example.com). Le forum doit fonctionner sur un sous-domaine [forum.example.com](http://forum.example.com). Quel port dois-je utiliser ?

Voici la sortie de netstat -alpn | grep 443

```
[root@vserver ~]# netstat -alpn | grep 443
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 28853/sw-cp-server: 
tcp 0 0 178.77.99.191:8443 185.243.71.165:58504 TIME_WAIT -                   
tcp 0 0 178.77.99.191:8443 185.243.71.165:58482 TIME_WAIT -                   
tcp 0 0 178.77.99.191:8443 185.243.71.165:58514 TIME_WAIT -                   
tcp6 0 0 :::443 :::* LISTEN 2517/httpd          
tcp6 0 0 :::8443 :::* LISTEN 28853/sw-cp-server: 
tcp6 0 0 178.77.99.191:443 185.243.71.165:46544 TIME_WAIT -                   
tcp6 0 0 178.77.99.191:443 185.243.71.165:46542 TIME_WAIT -

```

---

_[View the full topic](https://meta.discourse.org/t/dns-and-discourse/171559)._
