Port 80 and 443

mwebinc

Verified User
Joined
Apr 18, 2006
Messages
22
Location
OH, USA
I need to run one instance of a domain on both port 80 and 443 instead of having them in seperate folder (i.e. public_html and private_html) - Is there any way to set it so only one folder can accept both 80 and 443?

Thanks!

Matt
 
The answer has been posted many times on these forums.

First empty private_html, moving files you need to public_html.

Then remove the directory and link it to public_html:
Code:
# cd /home/[b]username[/b]/domains/[b]example.com[/b]/
# rmdir private_html
# ln -s public_html private_html
Jeff
 
Back
Top