View Single Post

   
  #1 (permalink)  
Old 01-19-2008, 06:15 AM
bartol_78@yahoo.com
 
Posts: n/a
Default Change directory of a SSL Website

Hello all.

Question from a newbie.

I installed HTTPS website (www.somename.com), let's say in /home/html/
some_directory with a associated signed certificate for www.somename.com).

Everything was working perfectly, when I connected to www.somename.com,
I received the corresponding certificate.

Now, for some (important) reason, I decided just to change the
directory where the website www.somename.com is, in another
directory /
home/html/some_other_directory.

I just change the DocumentRoot in the <vhost >config in httpd.conf,
but now, when I connect to www.somename.com, the webserver sends me a
unsigned certificate for "localhost" and no more www.somename.com.

What is the point ? Is it possible to change the website directory ?
How ?

Thank you for your answers. (Search on forums and websites, found
nothing.)

Reply With Quote