Skip to content

Personal Homepage

The ImPhys department supports a personal homepage for each member. After following the instructions below, this homepage can be found here:

  • https://home.imphys.tudelft.nl/~<netid>

~<netid>

replace <netid> with your TU Delft login account. Make sure you put the ~ (tilde) character in front of your netid

Warning

The homepage can be accessed from outside the campus network. The filesystem containing the files for the homepage can only be accessed inside the campus network (wired, wireless [eduroam and tudelft-dastud] and EduVPN).

Follow the instructions below:

  1. have your netid added to the access list for the webserver servicing the personal homepage

    This can be done by Ronald Ligteringen. You can only continue after your netid has been added.

  2. install Webdrive on your computer (or check Alternatives for Webdrive). On TU Delft computers with Windows this can be done via Software Center. On other computers visit https://software.tudelft.nl where you can also find the TU Delft activation code.

  3. in Webdrive use the following settings:
    • connection type: SFTP
    • server address: home.imphys.tudelft.nl
    • username: <netid>
    • default [macOS] or root [Windows] directory: /home/<netid> [this is your home-directory on the webserver]
  4. open the drive created with Webdrive
  5. create the www directory in your home-directory
  6. put your homepage inside the www directory. Note: only files inside this directory are served by the webserver.

    Warning

    sometimes you need to actively start sync in Webdrive to transfer the files from your computer to the server. This will be further investigated…

  7. check with a webbrowser

Migrating from homepage.tudelft.nl

In 2023 the personal homepage on homepage.tudelft.nl will no longer be available. To migrate your page from this environment to home.imphys.tudelft.nl follow the instructions below:

  1. setup your personal homepage as instructed above
  2. open your staff-home directory. On TU Delft computers with Windows this the H:-drive. On other Windows computers use \\tudelft.net\staff-homes\<first letter lastname>\<netid>. On macOS computers use smb://tudelft.net/staff-homes/<first letter lastname>/<netid>.

    Warning

    You can only access the staff-home directory when your computer is connected to the campus network (wired, wireless [eduroam and tudelft-dastud] and EduVPN).

  3. open the www directory

  4. copy all files to the new www directory created in the instructions above
  5. modify all absolute links in your website to this new location!
  6. also modify all links on other websites to this new location
  7. you can easily redirect all traffic to the old location to the new location. For this create the following index.html file in the www directory in your staff-home, make sure your replace <netid> with your netid:
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Refresh" content="0; url='https://home.imphys.tudelft.nl/~<netid>'" />
</head>
<body>
</body>
</html>

Alternatives for Webdrive

The connection to the webserver home.imphys.tudelft.nl is a SSH-connection. For file-access you can use the SCP or SFTP protocols. Many programs like Webdrive provide interfaces with these protocols. For example FileZilla [macOS & Windows], Cyberduck [macOS], MobaXterm [Windows] or WinSCP [Windows]. It is also possible to use the command-line programs like scp and sftp.

Better solution for macOS

Apparently there have been problems with editing files via Webdrive on macOS. These problems typically occur when editing a file with Visual Studio Code resulting in garbage at the end of this file. There are several alternatives for mounting your home-directory of the webserver.

mounting

the process of mounting allows you to access files from a remote computer on your local computer. Typically you mount a directory on the remote filesystem as a directory on your local filesystem. Changes to files in this local directory are instantaneous on the remote computer.

sshfs [Intel only]

You can mount your home-directory via sshfs. There is however one catch: this software is no longer maintained and only available for Mac Intel (not M1 or M2). Follow the instructions below:

  1. install Homebrew
  2. install sshfs
  3. mount with

    sshfs <netid>@home.imphys.tudelft.nl:. ~/home_imphys
    

Your home-directory on the webserver is now mounted on ~/home_imphys (the ~ being your home-directory on your local computer).

You can unmount this directory with:

umount ~/home_imphys

rclone [Intel, M1 and M2]

Important

rclone is available for macOS, Windows and Linux

As previously mentioned the sshfs software is no longer maintained. A promising alternative might be rclone. Some tests have been done and look quite stable. DO NOT install rclone via Homebrew as the mounting-functionality will not be available. Better install the binary from the website:

Instructions can be found here:

Make sure you set the ask_password to true in the configuration (in Edit advanced config?). As an example look at this rclone config file which is stored in ~/.config/rclone/rclone.conf:

[home_imphys]
type = sftp
host = home.imphys.tudelft.nl
ask_password = true
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum

For mounting you will need to install fuse which can be done with:

brew install macfuse

More information about mounting can be found here:

Note

mounting the home-directory with:

rclone mount --vfs-cache-mode full home_imphys:. ~/home_imphys

starts rclone as a server. Keep it running in the foreground in a separate terminal to examine the log-messages. When you’re confident things run smoothly you can add the --daemon option to start the process in the background (see rclone mount)


Last update: 2023-09-20