If i give access server (Hostname or IP Address ) my puplic IP i can connect from outside web, everything works.
When i give it my FQDN it doesnt connect anymore (using local server ip works for log in webui) no outside connection.
What can i do?
cant connect to access server from domain
-
- OpenVpn Newbie
- Posts: 8
- Joined: Fri Mar 25, 2022 7:43 pm
- openvpn_inc
- OpenVPN Inc.
- Posts: 1332
- Joined: Tue Feb 16, 2021 10:41 am
Re: cant connect to access server from domain
Hello vaalealager,
Looks like the FQDN doesn't resolve correctly then. Fix that and things should work.
Kind regards,
Johan
Looks like the FQDN doesn't resolve correctly then. Fix that and things should work.
Kind regards,
Johan

Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 8
- Joined: Fri Mar 25, 2022 7:43 pm
Re: cant connect to access server from domain
I have set it as A record, then example vpn.something.com and given it my puplic ip.
Port forward has been done also.
Followed the instructions from the openvpn.
When i give my server in network settings a hostname vpn.something.com i cant connect to it (lan works), puplic ip as hostname gives me connection.
Access server is on a virtual machine, bridged connection.
Im trying to figure out if the problem is in DNS or if im doing something wrong in the access server.
Thank you for your help.
Port forward has been done also.
Followed the instructions from the openvpn.
When i give my server in network settings a hostname vpn.something.com i cant connect to it (lan works), puplic ip as hostname gives me connection.
Access server is on a virtual machine, bridged connection.
Im trying to figure out if the problem is in DNS or if im doing something wrong in the access server.
Thank you for your help.
- openvpn_inc
- OpenVPN Inc.
- Posts: 1332
- Joined: Tue Feb 16, 2021 10:41 am
Re: cant connect to access server from domain
Hello vaalealagar,
If connecting with the public IP works, but connecting with the hostname doesn't work, the problem is almost certainly that the hostname is not resolving correctly to the public IP. Try resolving it yourself. Try looking in the logs what it resolves to, and compare that to the expected public IP.
Kind regards,
Johan
If connecting with the public IP works, but connecting with the hostname doesn't work, the problem is almost certainly that the hostname is not resolving correctly to the public IP. Try resolving it yourself. Try looking in the logs what it resolves to, and compare that to the expected public IP.
Kind regards,
Johan

Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 8
- Joined: Fri Mar 25, 2022 7:43 pm
Re: cant connect to access server from domain
Thank you Johan