Apache subdomains and folders

Discussion in 'Apache' started by atumra, Sep 5, 2010.

  1. #1
    Hello all.
    I have some questions to understand. This is the situation.
    We have bought a virtual server with Plesk panel. Installed with Linux, apache etc..
    We have a domain registered in another country and we would like to redirect to the apache web server (and this can be done via dns).

    Here is the point:
    we want to create 3 websites:
    www.domain.com to host magento ecommerce (with SSL) (in httpdocs/www folder)
    news.domain.com to host wordpress (in httpdocs/news folder)
    forum.domain.com to host a forum (in httpdocs/forum folder)

    The point is: when someone goes to www.domain.com or news.domain.com or forum.domain.com we would see the url remain the same eg:

    if i have a page test.html in the news folder i would like to see:
    http://news.domain.com/test.hml

    Is this a normal behaviour or i have to Url rewrite something?

    If i need SSL support for subdomain www is there something i need to know to accomplish this?

    Best regards
     
    atumra, Sep 5, 2010 IP