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-03-29, 06:59:34

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - djelica

Pages: [1]
1
Hello there, i need help regarding this task that bothers me for quite long time.
I have to host some 300+ domains on single IP. Those domains have glue record at registrar (i believe its called like that) pointing to my server's ip address. What I want to achieve is host them all without going through process of manually adding every single domain through panel. Those domains don't even have to to show up in panel, just need to resolve successfully and serve files normally.

All domains have same setup, lets assume following scenario
ns1.mydomain.com and ns2.mydomain.com point to my server's IP address.
ns2.mydomain2.com and ns2.mydomain2.com point to my server's IP address.
I created default dns template in panel and when i add domains regularly through domains section in panel it all works but it wont work without adding and that is wanted outcome.

What I tried so far:
Creating default dns template, adding *master* domain regularly and assign IP to that domain through home->ip addresses->configure domain. Didn't work.
Added admin as exclusive client, that didnt work too.
Added wildcard (*) A record in dns template, rebuilt. Didnt work.
Added server alias (*), i believe this is same as above, didnt work too.

intodns.com is showing one error that i think is meaningful:
Code: [Select]
ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:
111.111.111.111 (my ip there)

sysinfo:
Code: [Select]
# sh sysinfo

A. Kloxo-MR: 6.5.0.f-2016091701

B. OS: CentOS release 6.8 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.52-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.11.4-1.el6.ngx.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2

Help greatly appreciated!

2
Kloxo-MR Technical Helps / How to rewrite urls in nginx ?
« on: 2014-11-11, 11:30:07 »
Alright, what i want to do is rewrite urls on one of my domains out of few.
For example i have 1stdomain.com and 2nddomain.com.
I want to rewrite urls only for 2nddomain.com and rewrites not to affect any other domains.
My kloxo version is: 6.5.0.f-2014091101

Until now i have tried modifying /home/nginx/conf/domains/2nddomain.com.conf but once i run fixweb and restart nginx, my changes are gone...

I want to do only one simple rewrite for now which for apache would look like this:
RewriteEngine On
RewriteCond    %{REQUEST_FILENAME}  !-f
RewriteCond    %{REQUEST_FILENAME}  !-d
RewriteRule ^([A-Za-z0-9-]+)/?$ file.php?path=$1 [QSA,L]

End url should look like: www.2nddomain.com/some-path-goes-here/
It should be available for: http, https, www and non-www domain.

Please let me know where to put and what.

Offtopic:
I have noticed some strange behavior on default nginx installation which is that mydomain.com/any-path/any-depth/ leads to index file which isn't expected to happen, this can produce issues for some users who are duplicate-content aware. (this isn't good for SEO, not good at all).

3
Noticed that awstats doesn't process logs automatically,
when i do 'Run stats' from domain home manually it does process only current day but skips everything before.
here's example http://puu.sh/6S4DM.png

Pages: [1]

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

Page created in 0.05 seconds with 19 queries.

web stats analysis