Hosting Pages on home.iitk.ac.in

Step-by-step guidance for hosting personal webpages on the official IIT Kanpur hosting server.

← Back

Using PuTTY

For Editing Existing Web Contents Using PuTTY

Login to the machine using hostname: webhome.cc.iitk.ac.in

ssh <user-id>@webhome.iitk.ac.in

Click "Yes" if prompted for host verification. Then enter your CC user-id and password.

After successful login, you will be directed to your home directory.

/www/<user-id>/WWW

You may edit any file using vi editor:

vi <filename>

Creating, Editing & Deleting Using PuTTY

Create a new file:

vi pic.html

Press I or Insert key to enter insert mode and type content. Press Esc and type:

:wq

to save and exit.

Create a new directory:

mkdir picdir

Move into directory:

cd picdir

Delete existing file:

rm index.html

Delete existing directory:

rm -rf picdir

Using WinSCP

Uploading & Downloading Using WinSCP

Login using hostname: webhome.cc.iitk.ac.in with your CC user-id and password.

After login, left side shows local system and right side shows remote server.

Go to the following path in right window:

/www/<user-id>/www

You may drag and drop files from left to right for upload or right to left for download.

Editing Existing Files

Download files to your local system, edit using webpage editor, and upload back to server.

Confirm replacement when prompted.

Homepage URL

Your homepage shall be visible using:

https://home.iitk.ac.in/~<user-id>

Deleting Existing Data

Select the file or directory in right window and click the Delete button.