NOTE: We are moving away from publishing webpages on our local server as described below. Instead, please check out the possibilities of Google Sites through our Google Apps for Education Account here
You can publish webpages on the public internet on our math server. Only static web pages are supported (i.e. no php, or other scripting is allowed.)
- You must have a network account.
- Your public website address is:
- In your network account, the directory pub_http_internet contains your public website.
- Remote shell access instructions here
1. Create your html page:
There are many different ways to create an html page, including writing out the code in a text editor. For beginners we recommend a Graphical User Interface (GUI) tool such as Nvu. Your main/home page should be titled index.html.
- Nvu- Free Web Authoring Software -If you have a department-owned computer this should already be installed. There are numerous tutorials you can access from the link above.
2. Move your html page to the server:
- The html file you have created is on your local computer. You now need to move it to your web folder on our server.
- If you use Windows you can do this with WinSCP [download]. For Mac you can use Fugu[download]. Department computers usually have these installed by default.
- Move your files to the pub_http_internet folder in your network account.
3. Check your page:
- Use a web browser such as Internet Explorer or Firefox to check your page.
- The URL will be http://math.arizona.edu/~youraccountname/
- If you get an error message, then check the file permissions (Step 4)
4. Adjust permissions if necessary:
- Right click on your pub_http_internet folder and choose properties. Make sure the number listed as Octal is 0711.
- Right click on your individual html files within the pub_http_internet folder and choose properties. Make sure the number listed as Octal is 0644.
- Right click on your pub_http_internet folder and choose get info. Make sure the number listed as Octal Mode Representation is 0711.
- Right click on your individual html files within the pub_http_internet folder and choose get info. Make sure the number listed as Octal Mode Representation is 0644.
Using the command line:
- Creating the appropriate directories:
- Note: new accounts will already have the necessary directories.
- To get started: in your puma/gila home directory, use the following commands to create the folders and give them and your home directory appropriate permissions:
cd chmod go+x-rw . mkdir pub_http_internet mkdir pub_http_intranet chmod go+x-rw pub_http_internetNote: the chmod commands above will also prevent other users on our system from perusing your home directory, which is generally a good idea. However, other users can still access files/directories if they already know the name. To further secure your account, you can remove read permission for all files in your home directory:
cd chmod go-rw *You will have to repeat this step each time you add a file to your home directory. (An alternative is to create a subdirectory, e.g., "private", and put all your personal files in there.)
- Inside each of those folders, create a file called index.html, which might contain:
My first web page.After saving the file, ensure it has public read permission:
chmod go+r index.html