If you’re working off-campus, you’ll need to connect to the VPN before proceeding with the guides below.

The creation and editing of personal webpages is handled only by the content owner. The guides below provide information on connecting to the resource, but individual users would need to find resources on how to develop web pages for personal use. Please refer to w3schools.com or LinkedIn Learning for useful information on how to get started.

Choose an option below to get started.


Setup Your Home Page

Step 1

  • Launch an SSH client, like PuTTY
  • Type giant.utdallas.edu in the Host Name field
  • Select SSH
  • Click Yes
  • Enter your NetID and Password

Step 2

  • Type makeweb
  • Hit Enter

Step 3

  • Put your index.html in your public_html folder on your Mars drive using the move files instructions above.
  • Return to PuTTY

Step 4

  • Type cd public_html to navigate to your web directory
  • Type chmod 755 index.html
  • Hit Enter.

Step 5

  • The url for your webpage is http://www.utdallas.edu/~netid
  • Your webpage will be automatically added to the list of personal webpages in about a day

Back to Top


CGI Under Your Own Home Page

We allow CGI access under personal web pages with the following restrictions:

  • Scripts are limited to 9 seconds of CPU time
  • The Office of Information Technology offers absolutely no support for CGI programming

Step 1

  • Access your public_html directory with PuTTY

Step 2

  • Type mkdir cgi-bin. This created a directory for your CGI scripts
  • Hit Enter
  • Type chmod 755 cgi-bin. This sets correct permissions
  • Hit Enter
  • Type cd cgi-bin. Move to the new CGI script directory
  • Hit Enter

Step 3

  • Write your script.
    • You can use PHP on your web pages, but it must be written in CGI scripting format
    • Your scripts must be executable. chmod u+x scriptname.php
    • The first line of your PHP script must be #!/usr/local/bin/php
    • If using PERL, your script must begin with #!/usr/local/bin/perl

Step 4

  • Execute your script at http://www.utdallas.edu/~netid/cgi-bin/scriptname

Back to Top


Moving Files

Files can be moved to your home directory through mapping the Mars drive or by connecting through SFTP.

Option 1

  • Map the Mars drive
  • Once the drive has been mapped, you can move or copy your files into into the public_html folder

Option 2

Back to Top


Fixing Permissions Issues

The Office of Information Technology UNIX group has provided a simple script that will fix permissions on all of the files in your public_html folder at once

Step 1

  • Open PuTTY (or another SSH client) and connect to giant.utdallas.edu
  • Log in with your NetID and Password

Step 2

  • Type fixmywebsite
  • Hit Enter

Step 3

  • The script will list all of the files it will modify and ask for permission

Step 4

  • Verify that your website is fixed by going to http://www.utdallas.edu/~netid

Back to Top


Password Protect a Folder/Page

Step 1

  • Open PuTTY (or another SSH client) and connect to giant.utdallas.edu
  • Log in with your NetID and Password

Step 2

  • Move to your web directory. cd public_html
  • Move into the folder you wish to password protect. cd folder_name

Step 3

  • We’ll start by creating a passwords text file. pico passwords
    This file is temporary so don’t worry about picking a special name for it

Step 4

You are now in the PICO text editor.

  • Enter a list of usernames and unique passwords in the following format:
    username1 password1
    username2 password2
    username3 password3
  • Press Control + X to save the passwords file
  • When prompted, press Y to confirm changes
  • When prompted, name the file passwords

Step 5

Create the .htaccess and .htpasswd files to secure your folder/page

  • Type htcreate passwords.
  • Hit Enter.

Step 6

For obvious security reasons, we want to now delete the temporary passwords file

  • Type rm passwords
  • Hit Enter
  • When prompted, type yes to confirm you wish to remove the file passwords
  • Hit Enter.

Back to Top