mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #588] How-to access WordPress Docker with Custom Port #493
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#493
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @redtripleAAA on GitHub (Aug 30, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/588
Checklist
What is troubling you?
How-to access WordPress Docker with Custom Port
I have other basic project that can be accessed with their custom ports, except for Wordpress docker image
I have this setup
FYI,
As you can see, I can access the website locally
And admin dashboard
Please advise.
I can share the domain for testing as well.
Thank you.
@LivingWithHippos commented on GitHub (Aug 30, 2020):
Is that the ip address you use? It's a special address so maybe that's the problem.
If that is not the problem,
If you join the docker networks between the wordpress and the nginx containers you can follow the instruction in my other post
@redtripleAAA commented on GitHub (Aug 30, 2020):
@LivingWithHippos I can confirm that the domain and its DNS is not the problem.
I have other sub-domains are working fine.
I can confirm that the subdomain in question can be resolved without issues ot the public IP address where I have my services hosted.
Checked with:
https://www.whatsmydns.net/
@dash74 commented on GitHub (Sep 1, 2020):
I think I have figured out your issue. Did you setup wordpress using your internal ip? After you launch your wordpress docker image. You can go to your internal ip and make sure it works, but stop at the screen below. You should be able to access your site through the domain name and complete the setup process.
@redtripleAAA commented on GitHub (Sep 2, 2020):
@dash74
Thanks for testing on your end.
I can confirm that I had no issues in accessing the WordPress docker instance with the local IP address and I can access with NAT the external IP address + the port.
However, I noticed something, which I think it's related maybe to a bug in the system.
So, I managed to get it working by changing the sub-domain ... creating a new Wordpress Instance + Different Port + Creating New Sub-domain and then Proxy Manager, worked!
@alejandrobalderas commented on GitHub (Feb 7, 2021):
I had the exact same problem and this actually did the trick for me as well. It is important to configure wordpress from the url from which you are going to be accessing the website
@redtripleAAA commented on GitHub (Feb 7, 2021):
I found the issue and managed to fix it.
Always run the initial setup for your wordpress instance using the public domain and not the internal domain/IP.
After that, everything should work fine.
Thanks for reminding me to share my fix here with everyone!