Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
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:
Click Here
Please login or register. 2024-04-20, 04:15:23

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

0 Members and 1 Guest are viewing this topic.

Offline arwa99

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
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 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
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 »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.071 seconds with 18 queries.

web stats analysis