# Correct way to display index

**URL:** <https://www.ruby-forum.com/t/correct-way-to-display-index/117757>\
**Category:** Deployment\
**Created:** [October 19, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757 "2007-10-19T23:18:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [October 19, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757/1 "2007-10-19T23:18:04Z")

</div>

I have this app that I have put on my GoDaddy account and while I can  
get the rails welcome page to display, I can’t get the intro page to my  
app to display.

this is the site:

[http://www.cottoncandyleague.com/league/](http://www.cottoncandyleague.com/league/)

I configured a symbolic link which, I thought, would link to this page,  
but it didn’t. I have a directory structure similiar to this:

rails\_apps → league → app, public, components, config, lib, etc.

I’m wondering if I either have the directory structure set-up wrong or  
something is wrong with my symbolic link? Or both? Or maybe I have a  
file mis-configured? The symbolic link is set as rails\_apps =\> league.

Anyone one out there who has set-up a rails app on GoDaddy have any  
suggestions - GoDaddy themselves have been less then helpful. Thanks,

-S

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [October 19, 2007, 11:45pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757/2 "2007-10-19T23:45:45Z")

</div>

Shandy,

You need to delete the index.html file in the public directory. Then  
rails will use your default action for the index page.

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [October 20, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757/3 "2007-10-20T16:24:00Z")

</div>

Marlon M. wrote:

> Shandy,
> 
> You need to delete the index.html file in the public directory. Then  
> rails will use your default action for the index page.

Even if the index page is the rails index page?

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [October 20, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757/4 "2007-10-20T16:27:28Z")

</div>

If you’re seeing the rails splash page, that means the index.html page  
in your public folder is the original rails one. Just rename it if  
you’re not 100% certain.

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [October 20, 2007, 7:55pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757/5 "2007-10-20T19:55:15Z")

</div>

Marlon M. wrote:

> If you’re seeing the rails splash page, that means the index.html page  
> in your public folder is the original rails one. Just rename it if  
> you’re not 100% certain.

Didn’t work. I must admit that I am totally lost. I erased all index.htm  
pages that I can find on my site - at this point there is almost nothing  
up there, so erasing the index files was easy, but still it is  
displaying that rails welcome page. I have also noticed that everything  
was somehow deleted from my public folder this morning, not saying that  
I couldn’t have mistakenly erased the contents but…

Thanks,

-S

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [October 20, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757/6 "2007-10-20T21:30:42Z")

</div>

Yep. If I recall, it tells you to delete file. 😉

Sent from my iPhone

On Oct 20, 2007, at 7:24 AM, Shandy N.  
\<removed\_email\_address@domain.invalid
