show a user with ip

mr-secret

Verified User
Joined
Jan 20, 2015
Messages
31
Hi

i have 15 user on directadmin and from 1-2 week ago when enter my shared ip in browser show one of user website
how can disable this?
for better understand my mean
i have this user

1.com
2.com
3.com
....
15.com

when enter server shared ip in browser show website 3.com
i want disable it show with ip
thanks
 
You have probably assigned the IP to that user as owned instead of shared, you may be able to change that from reseller level access in IP Management.

Best regards
 
yes right
but when set shared ip in modify setting user show this message:

You didn't chose a different ip, no changes have been made
 
No bro sorry
all 15 user use this shared ip without problem
but just now when enter shared ip show one user of all
but before in normally when enter shared ip to browser show message : Apache is functioning normally
 
Hello,

Make sure that you use the latest version of apache, and updated configs:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build rewrite_confs
 
Hello,

Make sure that you use the latest version of apache, and updated configs:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build rewrite_confs

thank you i do but now show another user :)
 
Check and see whether or not you have a default host for your IP in /etc/httpd/conf/ips.conf if it's missing then you might try and add:

for apache (standalone)

Code:
<VirtualHost 127.0.0.1:80>
        ServerName shared.domain
        DocumentRoot /home/admin/domains/sharedip
        SuexecUserGroup admin admin
        CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>

for nginx-apache:

Code:
<VirtualHost 127.0.0.1:8080>
        ServerName shared.domain
        DocumentRoot /home/admin/domains/sharedip
        SuexecUserGroup admin admin
        CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>

into /etc/httpd/conf/extra/httpd-includes.conf

replace 127.0.0.1 with your real IP. Restart apache.


p.s. I did not test it right now, but the general idea should work.
 
Check and see whether or not you have a default host for your IP in /etc/httpd/conf/ips.conf if it's missing then you might try and add:

for apache (standalone)

Code:
<VirtualHost 127.0.0.1:80>
        ServerName shared.domain
        DocumentRoot /home/admin/domains/sharedip
        SuexecUserGroup admin admin
        CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>

for nginx-apache:

Code:
<VirtualHost 127.0.0.1:8080>
        ServerName shared.domain
        DocumentRoot /home/admin/domains/sharedip
        SuexecUserGroup admin admin
        CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>

into /etc/httpd/conf/extra/httpd-includes.conf

replace 127.0.0.1 with your real IP. Restart apache.


p.s. I did not test it right now, but the general idea should work.
/etc/httpd/conf/ips.conf
this file empty just have one line

Code:
LogFormat "%O "%r"" homedir

and this file empty

into /etc/httpd/conf/extra/httpd-includes.conf
 
Follow all instructions from the post #9

thank you now when i enter my ip in browser show this message:
This IP is being shared among many domains.
To view the domain you are looking for, simply enter the domain name in the location bar of your web browser.

this is ok ?
 
It's OK if it's what you wanted.

p.s. I hope you manipulated with /etc/httpd/conf/extra/httpd-includes.conf. The file /etc/httpd/conf/ips.conf might be overwritten by Directadmin. If you updated /etc/httpd/conf/ips.conf, then move changes into /etc/httpd/conf/extra/httpd-includes.conf

p.p.s And while it's working I'd try and find the reason on why the incident happened on your server. By default it should not occur.
 
It's OK if it's what you wanted.

p.s. I hope you manipulated with /etc/httpd/conf/extra/httpd-includes.conf. The file /etc/httpd/conf/ips.conf might be overwritten by Directadmin. If you updated /etc/httpd/conf/ips.conf, then move changes into /etc/httpd/conf/extra/httpd-includes.conf

p.p.s And while it's working I'd try and find the reason on why the incident happened on your server. By default it should not occur.

its good for me no problem

i think this problem start from a day that i have a reseller with some users and i move users from reseller to admin
maybe for this ?
 
Back
Top