# Custom Admin Link Issue

**URL:** <https://forum.ghost.org/t/custom-admin-link-issue/25253>\
**Category:** Developer help\
**Created:** [August 29, 2021, 5:36am UTC](https://forum.ghost.org/t/custom-admin-link-issue/25253 "2021-08-29T05:36:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yyppsk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/yyppsk/32/14666_2.png) [@yyppsk](https://forum.ghost.org/u/yyppsk)\
**Post date:** [August 29, 2021, 5:36am UTC](https://forum.ghost.org/t/custom-admin-link-issue/25253/1 "2021-08-29T05:36:26Z")

</div>

Hey Community,

I created a custom admin link by customizing my config.production and now I am successfully redirected to my subdomain [admin.mysite.com](http://admin.mysite.com), but the problem is that everything is working fine but it refuses to connect in editing sections. I have attached a screenshot for reference.

 ![admin](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/6/6e4e1103c1aeac729dc22471fc2f3419c8eb2068.png)

This was working fine on my main link - [mysite.com/ghost](http://mysite.com/ghost) but refuses to connect since I changed my config to a new link [admin.mysite.com](http://admin.mysite.com)

This is my config file →

```auto
{
  "url": "https:/mysite.com",
  "admin": {
    "url": "https://admin.mysite.com/"
  },
  "server": {
    "port": 2369,
    "host": "127.0.0.1"
  },

```

Important notes to consider :

- When I open my subdomain([admin.mysite.com](http://admin.mysite.com)) it shows default Nginx page, so I used Cloudflare redirect to point it to [admin.mysite.com/ghost](http://admin.mysite.com/ghost) which holds the admin area after changing my configuration above.

- I have set my subdomain by an A record pointing to the IP address of my server. What I have not done is configuring Nginx. This is reference information hope anyone finds any solution to why I am facing this.

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [August 29, 2021, 5:47am UTC](https://forum.ghost.org/t/custom-admin-link-issue/25253/2 "2021-08-29T05:47:52Z")

</div>

I think the only thing that won’t work is the page you’re on. All of the other pages should work. You’re on the View site page which embeds `mysite.com`. Since it’s not the same domain as `admin.mysite.com`, your browser isn’t showing it

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [August 29, 2021, 6:47am UTC](https://forum.ghost.org/t/custom-admin-link-issue/25253/3 "2021-08-29T06:47:39Z")

</div>

You can fix the view site screen by adjusting the `X-Frame-Options` header that your proxy is adding.

---

<div class="post-metadata">

**Author:** ![yyppsk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/yyppsk/32/14666_2.png) [@yyppsk](https://forum.ghost.org/u/yyppsk)\
**Post date:** [August 29, 2021, 7:28am UTC](https://forum.ghost.org/t/custom-admin-link-issue/25253/4 "2021-08-29T07:28:23Z")

</div>

Thanks for the response!  
I am a little confused about what setting " adjusting the `X-Frame-Options" is and where it is to be done?

---

<div class="post-metadata">

**Author:** ![yyppsk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/yyppsk/32/14666_2.png) [@yyppsk](https://forum.ghost.org/u/yyppsk)\
**Post date:** [August 29, 2021, 7:30am UTC](https://forum.ghost.org/t/custom-admin-link-issue/25253/5 "2021-08-29T07:30:03Z")

</div>

yeah definitely I agree but what could be the solution, only if I could get a small tutorial to fix this!
