How to set up webspace
From OCF Help Wiki
You can activate your web space using the OCF's web interface or SSH. Most users find that the web interface is the easiest method to use.
Contents |
1. Activate Your Webspace
Method A: Via the Web Interface
- Open the web commands interface in your web browser.
- Select the "makehttp" option. Enter your OCF username and password, and choose "Run command". You should see something like this in the output, assuming you entered your username and password correctly:
public_html folder has been created successfully.
Method B: Via SSH
- Login to your account via SSH.
- After you go past all system messages, you will see a prompt:
tsunami$
In this case, tsunami is the current logon server; you may see another name displayed. At this prompt, type "makehttp" without the quotation marks. This command will create your web directory. Here's a sample screen output:tsunami$ makehttp public_html folder has been created successfully.
2. Upload Files
- Upload files to your web space the same way you upload any files to the general disk space of your OCF account. The only difference is that files for your web space are placed in your public_html directory.
Why am I getting a 403 Forbidden page on my website?
If you visit your website, and you see a page saying "Forbidden", you have not yet activated your webspace. See the beginning of this page for instructions on how to do this.
If you have activated your web space, make sure that the permissions on ~/public_html, /services/http/users/j/johndoe and any files in ~/public_html are all allowing reading and executing.
See Also
External links
The following links may be useful for those new to HTML or web design: