Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Migrating WordPress from Local to Live Server

Eric Swenson
Eric Swenson
1,916 Points

I am using GoDaddy for hosting and I do not see a public_html folder. Do I need to create it?

Where is the public_html folder?

4 Answers

I'm going to guess your file view is because it's a Windows account. Unless you are going to use some Microsoft functionality like asp, I would suggest switching to a Linux account. I started off years ago with a Windows account but switched to a Linux account. I was talking to Godaddy support one time and the tech. person told me that 95% of the hosting accounts were Linux.

Anyhow, login to Godaddy and use their file manager and see what it looks like that way.

Hi,

I have godaddy as well. Do you see your cpanel > file manager > list of files/folders to the left side?

Hi Eric,

I also use Godaddy, Your root directory should be public_html. Are you viewing the file structure with the cPanel file manager or an ftp client like FileZilla?

Jeff

Eric Swenson
Eric Swenson
1,916 Points

I am using FileZilla. So it is just the root directory and doesn't need to say public_html?

When I connect with FileZilla I just point it towards my website ie. website.com, and I'm able to view all the directories. Below is an example view when connected with FileZilla.

Login FileZilla--
├── .bash_logout
├── .bash_profile
├── .bashrc
├── .contactemail
├── etc
├── logs
├── mail
├── public_ftp
├── public_html
│   ├── css
│   ├── img
│   ├── index.html
│   ├── index.php
│   └── otherStuff
├── .ssh
├── .trash
└── tree.txt

Also, what type of account do you have? Linux or Windows. Most people have a Linux hosting account. And, are you hosting more than one domain?

Jeff

Eric Swenson
Eric Swenson
1,916 Points

It is a windows account with one domain. I point FileZilla to my website also and I see only cgi-bin, error_docs, httpdocs, and logs.

Eric Swenson
Eric Swenson
1,916 Points

Ok, I just switched over to Linux OS and now everything is looking good and public_html is there. Thank you very much!