# Can't access to secure admin console remotely using my domain name

**URL:** <https://forum.payara.fish/t/cant-access-to-secure-admin-console-remotely-using-my-domain-name/773>\
**Category:** General\
**Created:** [February 7, 2024, 6:06pm UTC](https://forum.payara.fish/t/cant-access-to-secure-admin-console-remotely-using-my-domain-name/773 "2024-02-07T18:06:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bonjo](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@Bonjo](https://forum.payara.fish/u/Bonjo)\
**Post date:** [February 7, 2024, 6:06pm UTC](https://forum.payara.fish/t/cant-access-to-secure-admin-console-remotely-using-my-domain-name/773/1 "2024-02-07T18:06:03Z")

</div>

Hi everyone  
I have an Azure VM, I have installed Payara ce 6-2024-1 on it and changed de admin port to 5348, I successfully configured DAS to access the admin console remotely, I can access them using **[myvm.southcentralus.cloudapp.azure.com:5348](http://myvm.southcentralus.cloudapp.azure.com:5348)** without a problem, when I use the IP associated to the VM I also can access the console.  
Now, I also have an alias in my DNS registry to this Azure VM, something like this _[myvm.mydomain.com](http://myvm.mydomain.com)_, so, when I try to use the alias in the URL, I get the following error:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/payara/original/1X/0bf98d235661446d7cf0687cb6d557cd39163c76.png)

In Payara 5 I didn’t have this problem, the same procedure to enable DAS and access the console remotely works well.

Has anyone had a similar issue? Any idea to solve it?

Thank you.

**PS:** before I configured DAS, I was able to see the console login page using the DNS alias.

---

<div class="post-metadata">

**Author:** ![brasta78](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@brasta78](https://forum.payara.fish/u/brasta78)\
**Post date:** [February 11, 2024, 7:00pm UTC](https://forum.payara.fish/t/cant-access-to-secure-admin-console-remotely-using-my-domain-name/773/2 "2024-02-11T19:00:01Z")

</div>

it is not related with Payara and Azure. Check your DNS settings [Network Tools: DNS,IP,Email](https://mxtoolbox.com/SuperTool.aspx)

---

<div class="post-metadata">

**Author:** ![Bonjo](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@Bonjo](https://forum.payara.fish/u/Bonjo)\
**Post date:** [February 12, 2024, 7:34pm UTC](https://forum.payara.fish/t/cant-access-to-secure-admin-console-remotely-using-my-domain-name/773/3 "2024-02-12T19:34:47Z")

</div>

Thanks @brasta78 for your reply, but as I wrote in the post script, I can access to the logon page of the admin console using my domain name before I configure DAS, so, my DNS entry is working well.  
Someone have another idea?

---

<div class="post-metadata">

**Author:** ![Bonjo](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@Bonjo](https://forum.payara.fish/u/Bonjo)\
**Post date:** [March 25, 2024, 10:05pm UTC](https://forum.payara.fish/t/cant-access-to-secure-admin-console-remotely-using-my-domain-name/773/4 "2024-03-25T22:05:34Z")

</div>

Hi everyone  
I found the cause of the error, but I don’t know why it happens only with TLS enabled and since Payara 6; in Payara 5 it works well whit and without TLS enabled.  
The problem is the name of my subdomain, I had a subdomain something like this: **my\_subdomain**.domain.com, in Payara 6 it only works if TLS isn’t enabled.

**SOLUTION** : change the subdomain name to **my-subdomain**
