# Setting domain alias

**URL:** <https://forum.ghost.org/t/setting-domain-alias/2172>\
**Category:** Installation\
**Created:** [July 28, 2018, 3:47pm UTC](https://forum.ghost.org/t/setting-domain-alias/2172 "2018-07-28T15:47:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewyg](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/andrewyg/32/993_2.png) [@andrewyg](https://forum.ghost.org/u/andrewyg)\
**Post date:** [July 28, 2018, 3:47pm UTC](https://forum.ghost.org/t/setting-domain-alias/2172/1 "2018-07-28T15:47:20Z")

</div>

So I’m using google’s compute engine with a static IP and I go through the installation process 100% same as the documentation (including all recommended environment setup).

Now I’m wondering, is it possible to set up the server that can configure other domains to point to the author’s page. So let’s say our main domain [main.com](http://main.com) is what we configure when installing ghost, which it shows the homepage of the blog (of course). Then is it possible to set up nginx (or other stuff), that allows the author to add custom domain and point to their author page?

So let’s say there’s an author called Andrew, can we help it set up that when anyone accesses his domain [andrew.com](http://andrew.com), it’ll lead them to his author page ([main.com/author/andrew](http://main.com/author/andrew))?

---

<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:** [July 28, 2018, 3:55pm UTC](https://forum.ghost.org/t/setting-domain-alias/2172/2 "2018-07-28T15:55:24Z")

</div>

What you’re asking isn’t specific to Ghost, but it’s doable!

How this is done depends on your registrar - many by default support something called `URL Forwarding` - what this means is your registrar will tell anyone that accesses `andrew.com` that the domain is valid, but you can find the content at `main.com/author/andrew` (assuming you setup the forwading like that).

Instructions for [Google domains](https://support.google.com/domains/answer/4522141?hl=en), [Hover (maybe?)](https://help.hover.com/hc/en-us/articles/217282447-How-to-Forward-your-domain-name-to-another-website-Updated-Aug-2015-), [Gandi](https://wiki.gandi.net/en/domains/management/domain-as-website/forwarding), and [namecheap](https://www.namecheap.com/support/knowledgebase/article.aspx/385/2237/how-do-i-set-up-a-url-redirect-for-a-domain)

If you don’t want to use your domain registrar, you need to configure a server to do the redirects, which adds a decent amount of overhead

---

<div class="post-metadata">

**Author:** ![andrewyg](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/andrewyg/32/993_2.png) [@andrewyg](https://forum.ghost.org/u/andrewyg)\
**Post date:** [July 28, 2018, 3:57pm UTC](https://forum.ghost.org/t/setting-domain-alias/2172/3 "2018-07-28T15:57:42Z")

</div>

It looks like you’re talking about redirection, I was wondering is it possible to serve content from [main.com/author/andrew](http://main.com/author/andrew) when user access [andrew.com](http://andrew.com), so the address bar is still showing [andrew.com](http://andrew.com), not something like [main.com/author/andrew](http://main.com/author/andrew)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [August 11, 2018, 3:57pm UTC](https://forum.ghost.org/t/setting-domain-alias/2172/4 "2018-08-11T15:57:45Z")

</div>

Closed on August 11, 2018, 3:57pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
