# Different URL in redered HTML?

**URL:** <https://forum.ghost.org/t/different-url-in-redered-html/12929>\
**Category:** Installation\
**Created:** [March 24, 2020, 8:01pm UTC](https://forum.ghost.org/t/different-url-in-redered-html/12929 "2020-03-24T20:01:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Luterek](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/james_luterek/32/6958_2.png) [@James\_Luterek](https://forum.ghost.org/u/James_Luterek)\
**Post date:** [March 24, 2020, 8:01pm UTC](https://forum.ghost.org/t/different-url-in-redered-html/12929/1 "2020-03-24T20:01:18Z")

</div>

I have ghost successfully installed at ghost.domain .com

I have cloudfront serving the pages at www.domain .com

The problem is any links that point directly to the domain. Is there a way to have ghost render all pages/content as if the URL is www.domain .com, even though the nginx is serving it from [ghost.domain.com](http://ghost.domain.com)?

---

<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:** [March 25, 2020, 4:50am UTC](https://forum.ghost.org/t/different-url-in-redered-html/12929/2 "2020-03-25T04:50:47Z")

</div>

This sounds like a case where you have a different admin url compared to production url. The url that you provide in the ghost config is what’s used everywhere by Ghost.

From the docs (it’s kind of the opposite problem for you):

> **Admin panel is incorrectly redirected**
> 
> Make sure your configured URL is the one you are using to access the admin panel. You can set a separate domain for your admin panel using `ghost config admin.url https://your-admin-domain.com` .

[https://ghost.org/faq/change-configured-site-url/](https://ghost.org/faq/change-configured-site-url/)
