RohanCP Web Hosting
The SDSU Library offers web hosting for Academic Affairs departments, faculty, and student organizations on RohanCP. RohanCP provides cPanel, a Linux based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a website. You do not have to use cPanel. cPanel features include creating and downloading website backups, and Apache access and error logs. Student Class Accounts allow web hosting on the Edoras instructional support server.
- Apply for a website hosted on RohanCP.
- ATI requirements (Accessible Technology Initiative) must be met by SDSU websites, so they satisfy the ADA section 508 Web-based accessibility guidelines.
- Hosted websites must not collect or store credit card or any type of protected data. Please refer to the ISP and the Data Classification and Handling Policies.
- Verify your contact email address so password reset and user disk usage warning emails can be received.
File Transfers using cPanel or SFTP
Logins are limited to campus, VPN, and authorized IP addresses. CPanel Login
cPanel Login errors
Occasionally cPanel login fails with a HTTP error 404 (or 401) page. Here is how to clear this error.
Transferring files to a website
Transfer files, images, etc. associated with your web page using your web browser, cPanel > Files > File Manager, or with a Secure File Transfer Program (SFTP):
- Open your file transfer program (for example, WinSCP or Fetch)
- Log into the server: Host name is rohancp.sdsu.edu, use your RohanCP username and password to authenticate.
- Transfer the index.html file and any images or files that will appear on your page into the public_html directory.
- 403 Forbidden or 404 Not Found pages will be displayed on new websites until content is created.
- Connections attempts will fail when using obsolete programs, often displaying errors like "Couldn't agree a client-to-server cipher" or "Algorithm negotiation failed".
- Dreamweaver versions prior to 15 (CC 2014.1) are obsolete and will not connect to RohanCP.
- The 2003 SSH Secure Shell program is obsolete and will not connect. Use WinSCP on a PC, on a Mac use Fetch and select Connect using: SFTP
Off Campus logins are restricted (SSH, SCP, SFTP, cPanel and WordPress)
The campus Palo Alto VPN should be used by faculty and staff for off campus access. Please see edoras.sdsu.edu/vpn for info on setting up the campus VPN.
An alternative to the campus VPN is for us to add your off campus IP address to the RohanCP ACL (Access Control List.) Contact us with your IP address and the website you are working on and we will add you to the ACL. Please note, when your IP address changes, you will lose access. The campus VPN allows access from any IP address.
WordPressWordPress should be installed using cPanel. This automates the MySQL database setup and WordPress configuration. cPanel > Software > Site Software > WordPress. Note: during the install, the Installation URL: ends with wordpress Please remove wordpress from the URL, or the site will always have /wordpress as part of the URL!
Please use HTTPS to login to WordPress. Unencrypted HTTP logins are blocked. If the original web hosting request did not include WordPress, please let us know so we can add your site to our SSL certificate for HTTPS WordPress logins.
WordPress may not be a good fit if your site is not updated frequently. Installing WordPress commits you to keeping up with security updates.
Webmasters must apply WordPress security updates in a timely manner to meet campus security requirements. Files on RohanCP are owned by the user under which the website is running, allowing WordPress to directly update itself unless the user is over quota. Disable all plugins and themes (after noting which ones your site uses!!!) before upgrading, and enable them after the update completes. RohanCP Websites must also meet the campus ATI requirements so they satisfy the ADA accessibility requirements.
Disable the cPanel WordPress Plugin! The WordPress Admin Dashboard will not show new version updates if the cPanel WordPress Plugin is not disabled (currently version 4.8). The cPanel plugin prevents minor security updates from occurring automatically. It is important that automatic updates apply security patches to help keep your site secure. (You’ll still need to click “Update Now” for major feature releases.)
Protect your WordPress Website. Consider installing the free Wordfence Security plugin to help protect your website from hacking. More about the Wordfence plugin can be found at the FAQ. Protect WordPress comment forms from spam. One option is to use the very effective free Akismet plugin for comment spam filtering.
Getting Started with WordPress. Once you have completed the one-click install of WordPress with cPanel, take a tour of WordPress with First Steps With WordPress. A good reference for learning WordPress is learn.wordpress.com as well as YouTube. Invariably someone out there has posted a YouTube tutorial on just about any WordPress task. For example: How To Make a WordPress Website. WordPress support documentation and forums can be found at wordpress.org/support/
Backup WordPress. Once your WordPress site up and running, back it up! You can use cPanel to save your WordPress files and database to your computer. Another option is to install the UpdraftPlus Backup Plugin. The free version of UpdraftPlus allows you to backup and restore your WordPress files and database using Google Drive or Dropbox.
WordPress 500 Internal Errors may be due to a problem with a theme or plugin, or possibly a corrupted .htaccess file. The following guides may help with troubleshooting this issue: The Ultimate Guide to Solving 500 Server Errors Common WordPress Errors
WordPress News about new updates, security vulnerabilities and more, can be read at wordpress.org/news/
cPanel Site Publisher enables you to quickly create a very simple website, even if you have never created a website before. When you use this interface, you will select an appropriate template for your website, and then enter the website content that the template requests.
Site Publisher is found under cPanel > DOMAINS > Site Publisher
Caching, Logs, Quotas, and Tutorials
Website changes may not show up immediately. RohanCP uses Varnish Cache,
a web application accelerator that dramatically speeds up delivery of websites. Varnish updates cached items after 5 minutes. Changes made to a website may take up to 5 minutes to appear.
Typing a force-refresh in your web browser will immediately update the server's Varnish cache for the current page.
While on campus or using the campus Palo Alto VPN, you can use port 88 to view a website "behind the cache" and see updates instantly. For example, pretend your website URL is brazil.sdsu.edu To view port 88, retype the URL as brazil.sdsu.edu:88/
RohanCP can send out email generated from comment forms, but RohanCP does not receive email. Forms need to provide a valid reply address. Please use some type of antispam prevention, ie: MathGuard or reCAPTCHA, otherwise your mail form will be flooded with spam comments. WordPress sites can use the very effective free Akismet plugin.
Email accounts are NOT available on RohanCP. Faculty and Staff should obtain GMail accounts (@mail.sdsu.edu) from the ETCS Help Desk.
The default disk quota is 1 GB. Your website's disk usage can be viewed after logging into cPanel under Files > Disk Usage, or by clicking the Dashboard icon. If your website's user account is over quota, file transfers and WordPress updates will fail. Contact us if you need more space.
Google Drive for large files and streaming video
If the large files don't put your site over quota, then don't worry about them. We recommend that large files be uploaded on Google Drive and to link to them from your site. SDSU has unlimited storage on Google Drive with a maximum file size of 1 GB.
You can store and stream video with Google Drive. You can store videos up to 5 TB.
Share the files uploaded to Google Drive using Anyone with the link can view. Create links with the Google Drive file URLs in your website. Use departmental email accounts for uploading files to Google Drive or the files will vanish when your email account is removed.
- Changing the share settings on Google Drive
- FAQ on Google drive
- Store and link to photos on Google Drive
- Store and play video in Google Drive
Logs and Tracking VisitorsWebsite logs and bandwidth statistics reported by cPanel are not accurate as RohanCP uses Varnish to accelerate websites. Google Analytics can be used to provide powerful tracking and analysis of website hits, visitors, and where they are located. To use Google Analytics a tracking code is embedded on each page to be tracked.
The current supported version of PHP on RohanCP is 5.6. This version will change to PHP 7 soon. Info on migrating PHP code is available at Migrating from PHP5.6.x
WordPress is already compatible with PHP 7, but not all themes and plugins are compatible. If you are using a theme or plugin that is not actively supported, we suggest switching so your site will continue to work once we move to PHP 7
Faculty may request website redirects from ROHAN www-rohan.sdsu.edu websites to their new website's URL. The ROHAN webserver was decommissioned on June 5, 2017.
The User Manager in cPanel does not work. Users created are not able to login to cPanel or use SSH or SFTP. Please ignore this feature.
- Introduction to cPanel
- Account Backups
- Contact Preferences
- Disk Usage
- File Manager
- MySQL Databases
- Site Publisher
- WinSCP Introduction
About the RohanCP Server
RohanCP runs as a virtual machine on the Library's VMware cluster, running the CloudLinux operating system (a CentOS-like interface) and cPanel web hosting using an Apache LAMP stack, consisting of Mariadb (MySQL), PHP 5.6, Apache with PHP-FPM, and Varnish. The VMware vSphere cluster is comprised of four Dell R630 servers, and is located in the UCO Data Center, EBA-111. A list of hosted website domains may be viewed here when on campus.
The name RohanCP is a combination of ROHAN and cPanel. The name ROHAN is taken from the geographical area of J. R. R. Tolkien's Middle Earth saga "Lord of the Rings". ROHAN inhabitants were a nomadic and highly skilled equestrian people.
All that is gold does not glitter,
Not all those that wander are lost.
--- J. R. R. Tolkien ---