Difference between revisions of "OBJ/WebHosting"

From UMIACS
Jump to navigation Jump to search
Line 1: Line 1:
= Hosting a Web =
+
== Hosting a Web ==
Hosting a website in OBJ is quite easy and can be done in a few simple steps.
+
Hosting a website in OBJ is quite easy and can be done in a few simple steps. There are two different ways you can set up your Obj bucket to host a static website.
# Createa a bucket.
+
 
 +
'''First Method (Using the Web Interface):'''
 +
# Createa a bucket. Make sure to choose a bucket name carefully since this will be part of the web URL.
 
# Upload your index.html file and error.html file (optional) on the bucket that you just created.
 
# Upload your index.html file and error.html file (optional) on the bucket that you just created.
 
# Once the bucket is created, click on '''Bucket Settings'''
 
# Once the bucket is created, click on '''Bucket Settings'''
 
# On the settings page, click on the blue '''Make Public''' button.
 
# On the settings page, click on the blue '''Make Public''' button.
# Under Website Hosting, enter the name of your index.html (and error.html) file
+
# Under Website Hosting, enter the name of your index.html (and error.html) file.
 +
 
 +
'''Second Method (Using the CLI):'''

Revision as of 15:00, 23 July 2021

Hosting a Web

Hosting a website in OBJ is quite easy and can be done in a few simple steps. There are two different ways you can set up your Obj bucket to host a static website.

First Method (Using the Web Interface):

  1. Createa a bucket. Make sure to choose a bucket name carefully since this will be part of the web URL.
  2. Upload your index.html file and error.html file (optional) on the bucket that you just created.
  3. Once the bucket is created, click on Bucket Settings
  4. On the settings page, click on the blue Make Public button.
  5. Under Website Hosting, enter the name of your index.html (and error.html) file.

Second Method (Using the CLI):