DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
How to give domain name for IP and Port
- czabhinav
- Topic Author
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
25 Apr 2023 11:52 #102446
by czabhinav
How to give domain name for IP and Port was created by czabhinav
Hi
I am running a local python based flask app on my machine and I can access it using the urlhttp://192.168.1.21:5000 . I am using Draytek Vigor 2865 router and I want to give a domain name for the flask url but I didn't find any option to do this. So what I have done is I have given domain to the IP by going into Applications -> LAN DNS/DNS Forwarding so now I can access flask app using url http://myapp.com:5000
Is there anyway to include port number in the domain name as well so that instead ofhttp://myapp.com:5000 , I can directly access http://myapp.com
Thanks
I am running a local python based flask app on my machine and I can access it using the url
Is there anyway to include port number in the domain name as well so that instead of
Thanks
Please Log in or Create an account to join the conversation.
- pharcyder
- Offline
- Member
Less
More
- Posts: 165
- Thank you received: 1
25 Apr 2023 21:41 #102449
by pharcyder
Replied by pharcyder on topic Re: How to give domain name for IP and Port
No, it doesn't work that way. You could deploy a Reverse Proxy like Nginx Proxy Manager. Point your hostname at that and have that proxy your traffic to IPAddress:Port
Please Log in or Create an account to join the conversation.
Moderators: Chris, Sami
Copyright © 2024 DrayTek