# Default Welcome page

**URL:** <https://www.ruby-forum.com/t/default-welcome-page/225593>\
**Category:** NGINX\
**Created:** [January 17, 2013, 8:25am UTC](https://www.ruby-forum.com/t/default-welcome-page/225593 "2013-01-17T08:25:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [January 17, 2013, 8:25am UTC](https://www.ruby-forum.com/t/default-welcome-page/225593/1 "2013-01-17T08:25:50Z")

</div>

Hi,

I am a newbie to NGINX. I wish to learn as to how can I make a custom  
default index page and be called if another index.html or index.php file  
is  
not available in the document root.

The custom index.html page should shoot for every new server block. How  
can  
I have a common syntax block - maybe include a file ?

Any help is highly appreciated. Thanks in advance.

Posted at Nginx Forum:

> **[Default Welcome page](https://forum.nginx.org/read.php?2,235196,235196#msg-235196)**
>
> Hi, I am a newbie to NGINX. I wish to learn as to how can I make a custom default index page and be called if another index.html or index.php file is not available in the document root. The custom index.html page should shoot for every new server...
