• Skip to main content
  • Skip to main navigation
Baylor University Baylor University
ECS Support
Engineering and Computer Science
  • About
    • Staff
    • Vision & Mission
  • Facilities
    • Teal Residential College
    • Rogers
    • Hankamer Cashion Academic Center
    • Baylor Research and Innovation Collaborative (BRIC)
  • Student Resources
    • Incoming Students
    • ECS ID Management
    • ECS Software
      • 4nec2
      • 7-Zip
      • Advanced Design System (ADS)
      • Altair Hyperworks
      • Altium Designer
      • Android Studio
      • Ansys
      • Arduino
      • Atmel Studio
      • Cadence
      • Chrome
      • CodeBlocks
      • Comsol
      • Cygwin
      • Digilent Adept
      • Digilent WaveForms
      • Docker Desktop
      • EES
      • Eclipse
      • Emacs
      • Enterprise Architect UML Modeling
      • Git
      • Gradle
      • HomerPro
      • JetBrains/CLion
      • JetBrains/IntelliJ IDEA
      • JetBrains/Pycharm
      • Keysight
      • MathCad Prime
      • Maven
      • Microsoft Project
      • MiniGW
      • Modelithics
      • NodeJS
      • Notepad++
      • ProTeXt
      • PuTTy
      • Python
      • R
      • SolidWorks
      • Vim
      • VirtualBox
      • Visual Studio Code
      • WinMerge
      • WinSCP
      • WireShark
    • ECS Student Printing
    • Equipment Checkout
    • Linux
      • Connecting to the Systems
      • Linux General Information
      • Linux Web Hosting
      • Printing
    • Rooms/Labs
    • Equipment Requirements & Computer Recommendations
    • Engineering Manufacturing Fulfillment Request Forms
  • Staff/Faculty Resources
    • ECS ID Management
    • Classroom - Type I/II
    • Staff/Faculty Printing
    • Hotel Reservation
  • BearAware
  • Policies
Baylor BU ECS Support Student Resources Linux Linux Web Hosting
  • Incoming Students
  • ECS ID Management
  • ECS Software
  • ECS Student Printing
  • Equipment Checkout
  • Linux
    • Connecting to the Systems
    • Linux General Information
    • Linux Web Hosting
    • Printing
  • Rooms/Labs
  • Equipment Requirements & Computer Recommendations
  • Engineering Manufacturing Fulfillment Request Forms

Linux Web Hosting

Hosting Web Pages

Our primary Linux system are configured to serve web pages to the world. You can get it to serve your own web pages if you set them up properly. The following outline gives you the highlights of what you have to do.

Setting up your web space

  1. Make a directory named public_html right under your home directory.

    The following command should make the required directory for you.

    mkdir $HOME/public_html
                            

    The web browser is configured to look in a public_html directory for each user account. This way, each user can serve their own html files without having to put them in some other place in the filesystem. Since all of our Linux machines share the same filesystem, you can build your web pages on any of our Linux hosts and the primary host will still serve them.
     

  2. Adjust security permissions

    As long you don't want any other files or directories in your home directory to be world readable, the following commands should set permissions appropriately.

      	  chmod 700 $HOME/*
                              chmod 755 $HOME
                              chmod 755 $HOME/public_html
                            

    The first line makes it so that files and directories inside your home directory can't be ready by anyone other than yourself. This is probably a good idea since you don't want other students to look at things like copies of your homework assignments.

    The second line makes your home directory itself readable by everyone. The last line does the same thing for your public_html directory. This is necessary because the web server does not run with any special permissions. If regular users can't read your web pages, then the web server won't be able to read them either.
     

  3. Put the web pages you want in your public_html directory.

    You can also use you favorite SFTP client to copy files from your local system to the server or you can edit your web pages with a regular text editor like vi or emacs. You can even make subdirectories under public_html to organize your website in a way that makes sense.

    Although we don't enforce any absolute restrictions on the amount of disk space you can use for web pages, we ask that you don't abuse this resource. If you take too much space, we may have to ask you to get rid of some things.

     

  4. Visit these pages on the web at http://cs.ecs.baylor.edu/~your_login_name.

    If you put a file named index.html in a directory, the server will use this file as the default when a browser visits that file's directory. A common trick is to make $HOME/public_html/index.html a symbolic link to your home page (say, $HOME/public_html/home.html), then users will get your home page whenever they visit http://cs.ecs.baylor.edu/~your_login_name.

Common Questions

  • Are there other web servers I can use?

    Yes. Baylor offers students access to the blogs.baylor.edu web server.  Additional details on this offering can be found at helpdeskplus.web.baylor.edu/wordpress

  • Can I run CGI scripts on our Linux host?

    Unfortunately, we are not able to let students run CGI scripts from our Linux systems. 


Baylor BU ECS Support Student Resources Linux Linux Web Hosting
  • About
    Back
    • Staff
    • Vision & Mission
  • Facilities
    Back
    • Teal Residential College
    • Rogers
    • Hankamer Cashion Academic Center
    • Baylor Research and Innovation Collaborative (BRIC)
  • Student Resources
    Back
    • Incoming Students
    • ECS ID Management
    • ECS Software
      Back
      • 4nec2
      • 7-Zip
      • Advanced Design System (ADS)
      • Altair Hyperworks
      • Altium Designer
      • Android Studio
      • Ansys
      • Arduino
      • Atmel Studio
      • Cadence
      • Chrome
      • CodeBlocks
      • Comsol
      • Cygwin
      • Digilent Adept
      • Digilent WaveForms
      • Docker Desktop
      • EES
      • Eclipse
      • Emacs
      • Enterprise Architect UML Modeling
      • Git
      • Gradle
      • HomerPro
      • JetBrains/CLion
      • JetBrains/IntelliJ IDEA
      • JetBrains/Pycharm
      • Keysight
      • MathCad Prime
      • Maven
      • Microsoft Project
      • MiniGW
      • Modelithics
      • NodeJS
      • Notepad++
      • ProTeXt
      • PuTTy
      • Python
      • R
      • SolidWorks
      • Vim
      • VirtualBox
      • Visual Studio Code
      • WinMerge
      • WinSCP
      • WireShark
    • ECS Student Printing
    • Equipment Checkout
    • Linux
      Back
      • Connecting to the Systems
      • Linux General Information
      • Linux Web Hosting
      • Printing
    • Rooms/Labs
    • Equipment Requirements & Computer Recommendations
    • Engineering Manufacturing Fulfillment Request Forms
  • Staff/Faculty Resources
    Back
    • ECS ID Management
    • Classroom - Type I/II
    • Staff/Faculty Printing
    • Hotel Reservation
  • BearAware
  • Policies
  • General Information
  • Academics & Research
  • Administration
  • Admissions
  • Gateways for ...
  • About Baylor
  • Athletics
  • Ask Baylor
  • Bookstore
  • Calendar
  • Campus Map
  • Directory
  • Give to Baylor
  • News
  • Search
  • Social Media
  • Strategic Plan
  • College of Arts & Sciences
  • Diana R. Garland School of Social Work
  • George W. Truett Theological Seminary
  • Graduate School
  • Hankamer School of Business
  • Honors College
  • Law School
  • Louise Herrington School of Nursing
  • Moody School of Education
  • Research at Baylor University
  • Robbins College of Health and Human Sciences
  • School of Engineering & Computer Science
  • School of Music
  • University Libraries, Museums, and the Press
  • More Academics
  • Athletics
  • Compliance, Risk and Safety
  • Human Resources
  • Marketing and Communications
  • Office of General Counsel
  • Office of the President
  • Office of the Provost
  • Operations, Finance & Administration
  • Senior Administration
  • Student Life
  • University Advancement
  • Undergraduate Admissions
  • goBAYLOR
  • Graduate Admissions
  • Baylor Law School Admissions
  • Social Work Graduate Programs
  • George W. Truett Theological Seminary Admissions
  • Online Graduate Professional Education
  • Virtual Tour
  • Visit Campus
  • Alumni & Friends
  • Faculty & Staff
  • Online Graduate Professional Education
  • Parents
  • Prospective Faculty & Staff
  • Prospective Students
  • Students
  • Anonymous Reporting
  • Annual Fire Safety and Security Notice
  • Cost of Attendance
  • Digital Privacy
  • Legal Disclosures
  • Mental Health Resources
  • Notice of Non-Discrimination
  • Report It
  • Title IX
  • Web Accessibility
 
Baylor University
Copyright © Baylor® University. All rights reserved.
Baylor University • Waco, Texas 76798 • 1-800-229-5678