Hostgator How to Set Permissions and Sub-Domains Deploying a Site

October 27th, 2011 by Regaz

Deploying a Site on Hostgator you need Take Care of Correct Permissions…

The Permission for File Need to be:

chmod 744 yourFiles

For Directories just set to:

chmod 755 yourDirectories

To Quick setting Permissions all over your Domain go at:
Setting Permissions Recursively on Web Server

Next if you have a Composite URL with Sub-Directories you will need to Create
on Cpanel As Many Sub-Domains As Sub-Directories.
Example if you have an URL like that:

promozione-turismo.com/posizionamento-google/index.php

You need to go on Cpanel > Subdomains and Create a Subdomain:

posizionamento-google.promozione-turismo.com

Pointing to:

~/public_html/promozione-turismo.com/posizionamento-google

If not your URL will Not Work :)

(Visited 1 times, 1 visits today)

Tags: ,