Re: publishing your website
Hold on there, much more detail required - like what are you using to build / publish the website? What URL shows the proper site and what shows the index page?
You'll need to specify an index.htm / index.html file to avoid the index of page coming up usually, have you done that?
Save the whales, feed the hungry, free the mallocs.