ispconfigconsole.mydomain.com point to created virtual hosts websites content

Discussion in 'Installation/Configuration' started by prisfeo, Feb 4, 2010.

  1. prisfeo

    prisfeo New Member

    ispconfig 3.0.1.6 on Cento5.4 , all works.
    ...
    ispconfig server console management it's configured as in the perfect guide,
    and answers correctly to the following link:

    http://ispconfigconsole.mydomain.com:8080

    also:
    http://ispconfigconsole.mydomain.com/webmail
    http://ispconfigconsole.mydomain.com/phpmyadmin

    work perfectly.

    well..
    i have created, through the ispconfig web site control panel,
    a new web site called:
    newsite.mydomain.com
    with its own html pages content.
    and it answers correctly throug the browser:
    http://newsite.mydomain.com
    and it's active.

    now..if i try to browse here:
    http://ispconfigconsole.mydomain.com
    (note: i have omit port "8080")

    it answers the newly created website :eek:
    i don't like that behaviour..cause it's a public link.
    ..
    now, if i set to "not active" the newly created website (newsite.mydomain.com),
    again browsing to http://ispconfigconsole.mydomain.com
    i obtain the default apache page (ok, in the future i'll comment out the welcome.conf code so that this page will be blank)
    ..
    is there a way , when a new website is in active status (or more active websites),
    to prevent http://ispconfigconsole.mydomain.com to point
    to that websites pages content (with still /webmail /phpmyadmin working) ?

    thanks in advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. prisfeo

    prisfeo New Member

    thanks so much Till !
    for this tip and prompt reply!! :)

    i have inserted the following code at the end of /etc/httpd/conf/httpd.conf:

    <VirtualHost _default_:80>
    DocumentRoot /var/www/html
    </VirtualHost>

    (/var/www/html is empty)

    so i have obtained the desired effect since the newly created website
    answers correctly andh the ispcfgconsole leads to a blank page
    when called without port 8080
     

Share This Page