# PHP index file Help with hosting

**URL:** https://discourse.softpress.com/t/php-index-file-help-with-hosting/25539
**Category:** Freeway
**Created:** [June 2, 2023, 9:02am UTC](https://discourse.softpress.com/t/php-index-file-help-with-hosting/25539 "2023-06-02T09:02:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Sunshine](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/s/3ec8ea/32.png) [@Sunshine](https://discourse.softpress.com/u/Sunshine)
#### Post date: [June 2, 2023, 9:02am UTC](https://discourse.softpress.com/t/php-index-file-help-with-hosting/25539/1 "2023-06-02T09:02:17Z")

</div>

Kia ora might I ask for assistance with the publishing of my site [emmarochester.com](http://emmarochester.com)

At the moment is reads forbidden!

I chatted with the agent at A2 hosting and they instructed me to go to the public\_html section and remove the index.php file which had the A2 logo on it.

I have deleted this file.

Now, I am supposed to upload a new index file with my own content on it to replace the automated one.

I havent been able to find where I can upload only the index file to the cpanel at A2

A2 said there is special code I get to be able to add my website main page.

Might I ask for assistance with the php, I dont think my website in Freeway has a workable home page?

---

<div class="post-metadata">

### Author: ![Jeremy](https://discourse.softpress.com/user_avatar/discourse.softpress.com/jeremy/32/2740_2.png) [@Jeremy](https://discourse.softpress.com/u/Jeremy)
#### Post date: [June 2, 2023, 10:28am UTC](https://discourse.softpress.com/t/php-index-file-help-with-hosting/25539/2 "2023-06-02T10:28:36Z")

</div>

Hi Sunshine,

Your site works for me.

One thing you might take up with A2 hosting is how to default to https rather than http. Safari says “Not secure” if I follow your link, but https seems to work if I add “https://” before the link.
