# 404 after installation

**URL:** <https://forum.ghost.org/t/404-after-installation/1555>\
**Category:** Installation\
**Created:** [June 8, 2018, 9:16pm UTC](https://forum.ghost.org/t/404-after-installation/1555 "2018-06-08T21:16:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![unnanego](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/unnanego/32/787_2.png) [@unnanego](https://forum.ghost.org/u/unnanego)\
**Post date:** [June 8, 2018, 9:16pm UTC](https://forum.ghost.org/t/404-after-installation/1555/1 "2018-06-08T21:16:46Z")

</div>

Hi!

I’ve installed ghost by instruction on an ubuntu 16.0.4. Everything went fine except one thing - when prompted for URL, I entered a domain name, but I’am accessing the site via IP address. I changed the url with a command. But when I open it ( [http://176.112.216.205](http://176.112.216.205)) it shows 404 (same for /ghost).

No errors were shown during installation, everything is running ok. I deleted the “nginx succesfully installed” html file.  
Restarting ghost doesn’t help =(

---

<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:** [June 8, 2018, 9:21pm UTC](https://forum.ghost.org/t/404-after-installation/1555/2 "2018-06-08T21:21:26Z")

</div>

As stated in [Ghost as a sub directory using NGINX - #4 by Hannah](https://forum.ghost.org/t/ghost-as-a-sub-directory-using-nginx/1499/4), Ghost only configures the webserver to proxy requests to Ghost for the domain, not the server. What this means for you is you can’t access Ghost by direct IP access - you need to access it by the domain.

Since you deleted the nginx is installed page, nginx (your webserver) has nothing to serve, so it responds with a 404 because no resource exists to respond with.

---

<div class="post-metadata">

**Author:** ![unnanego](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/unnanego/32/787_2.png) [@unnanego](https://forum.ghost.org/u/unnanego)\
**Post date:** [June 8, 2018, 9:24pm UTC](https://forum.ghost.org/t/404-after-installation/1555/3 "2018-06-08T21:24:28Z")

</div>

oh, thanks! would have been great to have it mentioned in the installation instructions

---

<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:** [June 8, 2018, 9:25pm UTC](https://forum.ghost.org/t/404-after-installation/1555/4 "2018-06-08T21:25:38Z")

</div>

Feel free to suggest edits to the docs! There’s a button at the top right of the page 🙂

---

<div class="post-metadata">

**Author:** ![unnanego](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/unnanego/32/787_2.png) [@unnanego](https://forum.ghost.org/u/unnanego)\
**Post date:** [June 8, 2018, 9:44pm UTC](https://forum.ghost.org/t/404-after-installation/1555/5 "2018-06-08T21:44:46Z")

</div>

Thanks for the tip!

Made the edit suggestion!

---

<div class="post-metadata">

**Author:** ![unnanego](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/unnanego/32/787_2.png) [@unnanego](https://forum.ghost.org/u/unnanego)\
**Post date:** [June 8, 2018, 10:05pm UTC](https://forum.ghost.org/t/404-after-installation/1555/6 "2018-06-08T22:05:44Z")

</div>

well, I set up a domain name, changed the url with config command, restarted ghost - still shows 404 =(

---

<div class="post-metadata">

**Author:** ![unnanego](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/unnanego/32/787_2.png) [@unnanego](https://forum.ghost.org/u/unnanego)\
**Post date:** [June 9, 2018, 10:24am UTC](https://forum.ghost.org/t/404-after-installation/1555/7 "2018-06-09T10:24:17Z")

</div>

had to wait for dns servers to update. worked after reinstalling

---

<div class="post-metadata">

**Author:** ![maxcr](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/maxcr/32/743_2.png) [@maxcr](https://forum.ghost.org/u/maxcr)\
**Post date:** [June 9, 2018, 11:27am UTC](https://forum.ghost.org/t/404-after-installation/1555/8 "2018-06-09T11:27:37Z")

</div>

Yeah if you’re too cheap to pay for premium DNS servers for your domain name it could take hours to propagate.

---

<div class="post-metadata">

**Author:** ![dsecareanu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dsecareanu/32/413_2.png) [@dsecareanu](https://forum.ghost.org/u/dsecareanu)\
**Post date:** [June 9, 2018, 11:31am UTC](https://forum.ghost.org/t/404-after-installation/1555/9 "2018-06-09T11:31:16Z")

</div>

Just move your DNS to CloudFlare.

---

<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:** [June 23, 2018, 11:31am UTC](https://forum.ghost.org/t/404-after-installation/1555/10 "2018-06-23T11:31:20Z")

</div>

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