PDA

View Full Version : [ubuntu] Creating a symbolic link to www



VaineDragon
November 30th, 2009, 01:02 AM
How do I create a symbolic link to my /var/www/domain name so that if someone forgets to add www. domain name.com it will go to the proper folder /var/www/domain name I tried.

ln -s /var/www/index.html ./www.dragonsden.info/index.html

I thought this due to the fact that when I type the domain name it's self that will point to the index.html in the /var/www folder.