MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2014-09-30, 12:14:35

Title: [Resolved] Mapping dedicated IP to domain shows Kloxo error page
Post by: Spacedust on 2014-09-30, 12:14:35
Domain is pointing to right IP, it pings from this IP but I got this message:

Quote
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:

    Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
     
    The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
     
    If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
     
    Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: MRatWork on 2014-09-30, 12:22:29
What's about your dns setting and Ip assign?.
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: Spacedust on 2014-10-02, 10:26:45
They are correct. Today all my pages were down because customer mapped his domain to dedicated IP. Please fix it !

Kloxo-MR does not put port for dedicated IP so it causes nginx to go down !

Quote
2014/10/02 10:22:42 [emerg] 6731#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:22:53 [emerg] 7081#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:01 [emerg] 7538#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:04 [emerg] 7622#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:11 [emerg] 7862#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:15 [emerg] 8010#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:26 [emerg] 8358#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:37 [emerg] 8730#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
2014/10/02 10:23:49 [emerg] 9081#0: invalid port in "78.46.85.1:" of the "listen" directive in /opt/configs/nginx/conf/domains/plociara.pl.conf:53
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: MRatWork on 2014-10-02, 10:52:29
Inform here line 50-60 of the file.
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: Spacedust on 2014-10-02, 12:07:50
The listen line is completely wrong !!! It should be listen 78.46.85.1:80;

Quote
## web for 'plociara.pl'
server {
        #disable_symlinks if_not_owner;

        ## MR -- 'enable-cgi' not implementing yet

        listen 78.46.85.1:;

        server_name plociara.pl www.plociara.pl;

        index index.php index.html index.shtml index.htm index.pl index.py index.cgi index.rb default.htm Default.aspx Default.asp;

        set $var_domain 'plociara.pl';

        set $var_rootdir '/home/drobiazgow/plociara';

        root $var_rootdir;

        set $var_user 'drobiazgow';
        set $var_fpmport '57924';

        include '/opt/configs/nginx/conf/globals/stats.conf';

        include '/opt/configs/nginx/conf/globals/dirprotect_stats.conf';

        include '/opt/configs/nginx/conf/globals/switch_standard.conf';

        set $var_kloxoportssl '7777';
        set $var_kloxoportnonssl '7778';

        include '/opt/configs/nginx/conf/globals/generic.conf';
}
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: MRatWork on 2014-10-02, 12:24:55
It's Kloxo-MR 7 or 6.5?.
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: Spacedust on 2014-10-02, 16:21:45
It's Kloxo-MR Kloxo-MR 7.0.0.b-2014092203
Title: Re: Mapping dedicated IP do domain shows Kloxo error page
Post by: Spacedust on 2014-10-03, 22:31:51
Fixed :)