MRatWork Forum by Mustafa Ramadhan - [ASK] VirtualHost overlap pada port 80 dan 443, byk domain

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 15:28:51

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] VirtualHost overlap pada port 80 dan 443, byk domain

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: [ASK] VirtualHost overlap pada port 80 dan 443, byk domain (Read 957 times)

0 Members and 1 Guest are viewing this topic.

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### [ASK] VirtualHost overlap pada port 80 dan 443, byk domain

« on: 2013-02-17, 23:22:06 »
Pesan eror
Code: [Select]

    [root@mail ~]# service httpd restart
    Stopping httpd:                                            [  OK  ]
    Starting httpd: [Sun Feb 17 19:25:45 2013] [warn] VirtualHost 199.231.xxx.xx:80 overlaps with VirtualHost 199.231.xxx.xx:80, the first ha         s precedence, perhaps you need a NameVirtualHost directive
    [Sun Feb 17 19:25:45 2013] [warn] VirtualHost 199.231.xxx.xx:443 overlaps with VirtualHost 199.231.xxx.xx:443, the first has precedence,          perhaps you need a NameVirtualHost directive
    [Sun Feb 17 19:25:45 2013] [warn] VirtualHost 199.231.xxx.xx:80 overlaps with VirtualHost 199.231.xxx.xx:80, the first has precedence, pe         rhaps you need a NameVirtualHost directive

httpd.conf file saya
Code: [Select]

    NameVirtualHost *:80

    <VirtualHost *:80>
        ServerAdmin webmaster@domainsaya1.com
        DocumentRoot "/usr/local/docs/domainsaya1.com"
        ServerName www.domainsaya1.com
        ServerAlias abcacaiberryoriginal.com
        ErrorLog "/var/log/domainsaya1.com-error_log"
        CustomLog "/var/log/domainsaya1.com-access_log" common
    </VirtualHost>

    <VirtualHost *:80>
        ServerAdmin webmaster@domainsaya2.com
        DocumentRoot "/usr/local/docs/domainsaya2.com"
        ServerName www.domainsaya2.com
        ServerAlias domainsaya2.com
        ErrorLog "/var/log/domainsaya2.comerror_log"
        CustomLog "/var/log/domainsaya2.com-access_log" common
    </VirtualHost>

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] VirtualHost overlap pada port 80 dan 443, byk doma

« Reply #1 on: 2013-02-18, 00:04:37 »
Itu cuma 'warning' (bukan 'error') dan bisa diabaikan.
Jika tetap tidak nyaman dengan ini, ganti 'LogLevel warn' ke 'LogLevel error' di 'httpd.conf'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] VirtualHost overlap pada port 80 dan 443, byk domain

MRatWork Affiliates: BIGRAF(R) Inc. House of LMAR EFARgrafix

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.044 seconds with 18 queries.

Mirror created by MasterkinG32.CoM