How to set up webspace

From OCF Help

Revision as of 00:38, 7 March 2009 by Gordeon (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

  1. Open the web commands interface in your web browser.
  2. 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:
    Creating dirs for johndoe
    Creating /services/http/users/j/johndoe: Done.
    Adding you to the add log.
    

Method B: Via SSH

  1. Login to your account via SSH.
  2. If you are logging in for the first time, you will see some important messages. You may skip them (type newuser to recall them). After you go past all system messages, you will see a prompt:
    conquest[1]
    In this case, conquest is the current logon server; you may see another name displayed, like apocalypse or one of our other servers. At this prompt, type "makehttp" without the quotation marks. This command will create your web directory. Here's a sample screen output:
    conquest [1] makehttp
    Creating dirs for johndoe
    Creating /services/http/users/j/johndoe: Done.
    Adding you to the add log.
    

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: