Getting Started

ID #332

How do I recreate the "_" symlink that directs mydomain.com to www.mydomain.com?

Applies to: Grid System

If the "_" symbolic link (symlink) to your "www" subdomain has been deleted this is how you can replace it. This symlink, a simple underscore "_" directs users who type mydomain.com to www.mydomain.com. You can, however, easily recreate the necessary symlink. If you'd like to know more about subdomains like "_" and "www" feel free to read this FAQ on creating subdomains.

First, Telnet into or create a SSH connection to your account. If you need help with how to do either, please read this FAQ about connecting using a shell prompt.

Once you have a SSH connection open, type the following command to change into the appropriate directory.

cd /htdocs/

Next, type the following command to recreate the missing symlink.

ln -s www _

Once you've done the above, end the connection by typing exit and hit enter key. You should know be able to reach your domain via either mydomain.com or www.mydomain.com


Last update: 2010-10-05 16:02
Author: FAQ Admin
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 5 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ