2019-01-12T17:18:16ZFluxBBhttps://debian-facile.org/viewtopic.php?id=23288 Un serveur web comme NGinX ou Apache utilisent par défaut deux ports pour deux protocoles:
- HTTP (sans SSL): 80 - HTTPS (avec SSL): 443
Donc ce que tu veux faire c'est autorisé sur ta *box la redirection des port 80 et 443 vers l'IP local du serveur où tu héberge ton Wordpress. Donc si par exemple ton serveur a comme IP locale 192.168.1.10, alors tu dois demander une redirection des ports 80 et 443 vers 192.168.1.10 sur ta *box.
Ensuite si tu as un pare-feu tu dois faire la même chose localement sur le serveur dans l'interface de ton pare-feu. Si tu n'as pas de pare-feu (c'est pas bien !) alors tu n'as rien à faire de plus.
Tandis que si comme chez moi c'était ouvert tu aurais plutôt:
xxx@FruitOfParadise:~$ telnet 5.xx.9x.1xx. 80 Trying 5.xx.9x.1xx... Connected to 5.xx.9x.1xx.. Escape character is '^]'. ^CConnection closed by foreign host. xxx@FruitOfParadise:~$ telnet 5.xx.9x.1xx. 443 Trying 5.xx.9x.1xx.... Connected to 5.xx.9x.1xx.. Escape character is '^]'. ^CConnection closed by foreign host.
; <<>> DiG 9.10.3-P4-Debian <<>> 176.166.10.92 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23672 ;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;176.166.10.92. IN A
;; ANSWER SECTION: 176.166.10.92. 0 IN A 176.166.10.92
;; Query time: 3 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Thu Jan 03 20:41:35 CET 2019 ;; MSG SIZE rcvd: 47]]>https://debian-facile.org/profile.php?id=25542019-01-03T19:53:09Zhttps://debian-facile.org/viewtopic.php?pid=288293#p288293 nom du site : "site perso" sur localhost
port 80 désactivé]]>https://debian-facile.org/profile.php?id=65652019-01-03T19:31:08Zhttps://debian-facile.org/viewtopic.php?pid=288291#p288291https://debian-facile.org/profile.php?id=25542019-01-03T19:24:08Zhttps://debian-facile.org/viewtopic.php?pid=288288#p288288et modifier le fichier /etc/hosts du poste client, afin de faire correspondre le dyndns à l'ip local du serveur]]>https://debian-facile.org/profile.php?id=82612018-12-30T22:26:05Zhttps://debian-facile.org/viewtopic.php?pid=287897#p287897https://debian-facile.org/profile.php?id=82612018-12-30T22:13:11Zhttps://debian-facile.org/viewtopic.php?pid=287893#p287893https://debian-facile.org/profile.php?id=65652018-12-30T22:11:30Zhttps://debian-facile.org/viewtopic.php?pid=287892#p287892
Debian Alain a écrit :
si mais je me disais que W.P. utilisait des ports spécifiques .
en fait W.P. n'utilise aucun port ! ce n'est qu'un site web, et donc c'est les ports du moteur web qui entre en jeu...]]>
https://debian-facile.org/profile.php?id=82612018-12-30T22:10:32Zhttps://debian-facile.org/viewtopic.php?pid=287891#p287891 )]]>https://debian-facile.org/profile.php?id=65652018-12-30T21:56:47Zhttps://debian-facile.org/viewtopic.php?pid=287889#p287889Le Web, de son côté, désigne le système hypertexte constitué de l’ensemble des pages desservies par les serveurs HTTP de par le monde.
j'essaie un peu d'expliquer simplement, mais c'est pas simple...
https://chezlagrenouille.fr/spip.php?article147]]>https://debian-facile.org/profile.php?id=25542018-12-30T21:53:24Zhttps://debian-facile.org/viewtopic.php?pid=287888#p287888https://debian-facile.org/profile.php?id=65652018-12-30T21:50:22Zhttps://debian-facile.org/viewtopic.php?pid=287887#p287887va à dns et fait pointer sur ton ip
depuis le temps, tu as pas encore compris que http c'est le port 80, et le port https 443]]>https://debian-facile.org/profile.php?id=25542018-12-30T21:47:51Zhttps://debian-facile.org/viewtopic.php?pid=287886#p287886