Sytist Manual > Articles

Installing on cPanel hosting and using a temporary URL

If you are installing Sytist on cPanel hosting and your domain name is not pointing to that hosting yet,  you can still install using the cPanel  temporary URL.
 
A cPanel temporary URL is a URL your hosting company will send you that you can use until your domain is pointed to that hosting that looks something like this:
 
hostingcompany.com/~username     .....     or 68.554.23.21/~username
 
On the installation page in Sytist, check the checkbox indicating your are installing on a temporary URL. Enter in /~username in the field.
 
username = your cPanel username
 
If you have already installed and need to add the temporary URL, download the sy-config.php file and add the following line of code to a blank line:
 
$setup['temp_url_folder'] = "/~username";
 

When your domain is active on the hosting account.

 
Once you have your domain name pointing to your hosting, you will need to download the sy-config.php file to your computer and open it in a text editor like notepad.
 
Remove the "$setup['temp_url_folder'] = "/~username";" line, save and re-upload.
 
Also, you will need to create and upload a .htaccess file.  The .htaccess file needs to contain the follow. Replace your-domain.com with YOUR domain name.
 
ErrorDocument 404 /404.php

RewriteEngine On
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^(your-domain.com)$ [NC]
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]

<ifModule mod_deflate.c>  
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript  
</ifModule>  

<FilesMatch ".(jpg|jpeg|png|gif|swf|js|css)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
 
 

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close