Outgoing IP for domain with custom ip & PMA problem

Rido

Verified User
Joined
May 28, 2011
Messages
6
Hello,

I installed Directadmin on my Centos 6.2 server, but I've got some problems with it. Hopefuly could somebody help me with these problems.

1) When I visit mydomain.com/phpmyadmin I will be redirected to serverip/phpmyadmin. How can I fix this, so that I will stay on the domain name without being redirected.

2) When I create a user with a domain name that I give another IP then the server. How do I make it possible that this IP is also the outgoing IP for that domain name?
As example:
My server has the IP 1.1.1.1.
I create a domain with the IP 1.1.1.2 and I open a socket with PHP. How do I get the outgoing IP to 1.1.1.2 for that domain name?

Many thanks!

Regards,
Rick
 
You must have a redirect somewhere that is causing this I do not get this on my server. Check for .htaccess redirect in /var/www/html or /var/www/html/phpMyAdmin* . Maybe even a redirect from some other apache config file.
 
You must have a redirect somewhere that is causing this I do not get this on my server. Check for .htaccess redirect in /var/www/html or /var/www/html/phpMyAdmin* . Maybe even a redirect from some other apache config file.

Thank you! The .htaccess in /var/www/html contained the redirect rule.
 
Hello,

2) When I create a user with a domain name that I give another IP then the server. How do I make it possible that this IP is also the outgoing IP for that domain name?
As example:
My server has the IP 1.1.1.1.
I create a domain with the IP 1.1.1.2 and I open a socket with PHP. How do I get the outgoing IP to 1.1.1.2 for that domain name?

Many thanks!

Regards,
Rick

Check with this thread http://www.directadmin.com/forum/archive/index.php/t-43813.html
 
Back
Top