How do I link to two another directory off /var/www

Issues related to configuring your network
Post Reply
bwd2013
Posts: 10
Joined: 2013/01/06 11:56:33
Contact:

How do I link to two another directory off /var/www

Post by bwd2013 » 2013/01/06 21:25:01

Hi, I have my main site at
/var/www/html
and then a second site at
/var/www/secondsite

I want to make a link to the secondsite, from the first site, I've tried
Secondsite
but it doesn't work. I realise that everything above the /html folder is unnaccessible from a browser, what am I doing wrong?

This site doesn't have a domain name attached to it any more, so I can't link using that (it's just a site from my portfolio that no longer exists).

Many thanks in advance for any help you can give.

User avatar
vonskippy
Posts: 839
Joined: 2006/12/30 03:00:04
Location: Western Slope Colorado

How do I link to two another directory off /var/www

Post by vonskippy » 2013/01/06 23:37:48

If there's no domain attached, why run in a separate vhost?

Just move the 2nd directory under the working domains file tree.

Post Reply

Return to “CentOS 6 - Networking Support”