Welcome! I want to take a moment to personally thank you for signing up with MyUnixHost.com. I know that you have numerous choices when it comes to web hosting, and I'm confident that you will not regret your decision to join with us.
I'd like to take a few minutes and explain a few things you'll need to know about your new hosting account.
When you signed up for services, you selected a user ID, with a maximum of 8 characters. You should have received your password in an email (if you did not, please contact us).
You can follow these instructions to connect to the server.
Once you've logged in, you'll find yourself in your home directory, which is /home/USERNAME.
Many tutorials that exist on the web tell you that your web content goes in a folder called "public_html" within your home folder. However, MyUnixHost.com uses a very unique setup, so bear with me.
All of your web content will be stored under /www/USERNAME. Within this folder, there will be an individual folder for each domain you host here (the default is USERNAME.myunixhost.com).
Many tutorials will also explain to put any CGI scripts you have in a folder called cgi-bin. This is also incorrect. Here at MyUnixHost, you can host CGI scripts anywhere within your web space, they do not have to be in a special folder.
Because of the particular way things are set up, it's important that you have the correct permissions set on particular directories.
Your home directory (/home/USERNAME) should be chmodded to 750. This means that you have full permissions, your group has read/execute permissions, and every body else has no permissions. We recommend these settings to keep others from "snooping" in your home directory. The long-form of the permissions would look like drwxr-x---.
Your web directory (/www/USERNAME) and all directories below that are a bit different. The directory should be set 751, and will look like drwxr-x--x. Every directory below that should have the same name as the domain it represents, and should be set to 755 (drwxr-xr-x). There should also be an executable file within the web directory named php5-fcgi. The permissions should be -rwxr-xr-x and it should be owned by you. This file is very important, and if you delete it, your PHP scripts will no longer work. If you do happen to delete it, it's easy for you to replace. From within your web directory, execute this command: "cp /www/php5-fcgi .". Make sure the owner and group are set to you, and you should be good.
All scripts run through the web server run under your user ID, whether they are PERL, PHP, or whatever language. So you don't need to set the owner to www-data on any of your files or directories, they will work as is.
If you run into any trouble or have any questions, don't hesitate to contact sysadmin [at] myunixhost [dot] com.