Computer Services Centre

Indian Institute of Technology Delhi

  • Increase font size
  • Default font size
  • Decrease font size

User web pages

Print PDF

The CSC has commissioned a new server for hosting web pages of all faculty and PhD students. Users who may already have web pages on the old (now renamed as are requested to move/copy their pages from  to Your pages will become visible both internally, and externally with a url where userid is your ldap id (email id). Note that the will be shutdown on 10th March 2011. 

To facilitate  limited access from only within IITD CSC has commissioned a separate web server where all users of IITD can have their personal web pages. Users can create their web pages in a directory/folder called private_html under their CSC homefolder. These web pages can then be accessed from within IITD through the URL


Some of the features of the new web-page hosting servers are as follows:

  1. No separate account for creating user web pages will be necessary. All faculty and PhD students can maintain their personal web pages in a directory called public_html in their CSC home folder. The web pages are accessible as
  2. All users can maintain their private (accessible from within IITD) web pages in a directory called private_html in their CSC home folder. The web pages are accessible as
  3. The CSC home folder for all users are mounted as the default home folders on all Windows and Linux machines in the CSC. Users can install and modify their web-pages from any CSC desktop. 
  4. The CSC home folders are also available on the publicly accessible ssh servers (for all users including faculty) and (for faculty only). Home directory can be access from and (faculty only) by using secure shell client (ssh client). ssh client is available by default on all versions of Unices, Linux and Mac. Windows users can download and install a popular ssh client called Putty and a popular GUI secure copy client called WinScp.
  5. The CSC home folders can also be mounted by users (after authentication) as local folders on any Windows, Mac or Linux desktops/laptops connected to the IITD LAN. Using this, the users can install/edit their web-pages from their own machines also. Please see the CSC page on Home spaces through CIFS shares for details.
  6. Users can link their own php and cgi scripts to their web-pages and these will execute under user privileges and permissions. Hence one user's files and data will be completely protected from another user, as long as the file permissions are set up suitably. Please see below for the recommended permission settings.

The steps to be followed for moving  user web pages from the old  renamed as webold, to CSC home folder are as follows:

  1. Login to using your old userid and old password. 
  2. Copy your public_html folder on to your CSC home using the command
    scp -r public_html
    where userid is the new ldap userid (your emailid). Use ldap / email password when prompted.
  3. Login to and set the recommended file permissions as follows:
    1. For any static web content (all non-executable files, like static HTML pages, Images, JavaScript, CSS files, etc), the corresponding file should be set to world readable (preferably 644), and all the parent directories (including the $HOME) should have the execute bit set for the world (preferably 701).
    2. For any executable (PHP or CGI scripts), as well as configuration files which are to be read only by such executables, nobody other than the owner should be given  read permissions. It is also required to set executable bit for the owner, to allow executing it as a script with the owner's ID. The permissions thus become 700 for such files (if write access has to be granted), or 500 (for read only).
    3. The bare minimum to get started is: ssh to or and use the following:
      chmod o+x $HOME
      chmod uo+x $HOME/public_html
      cd $HOME/public_html && chmod -R u+rx *.php *.cgi
  4. Please ensure that all html files have read access by all and all php and cgi scripts have the executable permissions set.

The CSC would like to thank Nitesh Mor for his help in setting up this facility.

    Last Updated on Wednesday, 25 January 2012 13:01