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, 00:16:57

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.


Messages - djelica

Pages: [1]
1
Im not exactly sure what you ask. If you ask why I assign domain to IP in panel its because i dont see any other way that extra domains find appropriate path in system.
If you ask why I want to host multiple domains on one IP, this has wide use cases. One example would be If i work with domains buying/selling I can just point to IP from registrar for all bought domains without having to separately add each and every single of them in kloxo. Other use case would be wordpress multisite which can work if i go through adding every single domain but going through that process hundreds times is not so practical. And so on.

I confirm that 'hack' from link i posted works as expected but that will be gone if I ever execute some function from /script/ that would overwrite template file and that is main reason why I want to do it through panel.

But, if this is something very advanced for kloxo (being free panel) feel free to skip on this one since i found solution.

2
My server has multiple IPs

3
I did rebuild using this template but not for domains (plural) I did for 1 domain which I assigned to specific IP i want to use.

To answer your first question im not sure what is child nameserver. In domain provider panel i have ns1.domain.tld and ns2.domain.tld pointing to my IP.

I did not try running fixweb and restart-dns (i believe fixweb wont have any effect since domains aren't present in home->domains in kloxo panel). Once I comment out my 'hack' in template file and do rebuild dns for my particular master domain and do "service named restart" other domains pointing to that IP don't work anymore. When I uncomment and re-do those steps domains work and intodns error from above disappears.

Just for reference, template I'm referring to is list.master.conf.tpl

4
Hello again MR,
unfortunately that didn't work.
Here's how my template looks like with name "master"

Code: [Select]
Hostname Type Priority Value
* A - 111.111.111.111
__base__ A - 111.111.111.111
cp A - 111.111.111.111
mail A - 111.111.111.111
ns A - 111.111.111.111
ns1 A - 111.111.111.111
ns2 A - 111.111.111.111
ftp CN - __base__
lists CN - mail
webmail CN - mail
www CN - __base__
master.dnst MX 10 mail.master.dnst
ns1.master.dnst NS - ns1.master.dnst
ns2.master.dnst NS - ns2.master.dnst

I managed to get wanted outcome with modifying kloxo bind master template file as explained on this link: https://serverfault.com/questions/396958/configure-dns-server-to-return-same-ip-for-all-domains/397011#397011
That worked out but I don't like setting up stuff through hacks and backend files modification instead of being able to do the same through panel itself.

5
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!

6
still waiting for answer

7
that file has over 1000 lines of code, what exactly should i edit?

8
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).

9
I've just run command sh /script/fixtraffic --day=10
It took some time but didnt fix stats shown in awstats http://puu.sh/6SasI.png
I then did sh /script/fixtraffic --day=130 and still didnt fix it

10
Did you set 'scavenge' time?
No I didn't. Is it used for automated stats processing ?

Thank you for quick answers!

11
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

12
As soon as i get myself out of hard work, i will offer myself to create new theme or mod current for Kloxo-MR with full support of Ajax and fancy stuff to make it blazing fast and easy to use. I use Kloxo for several years already and i feel like i need to give something back.

Keep up the great work Mustafa!

Pages: [1]

Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.069 seconds with 21 queries.

web stats analysis