Hi
I'm in VPS and I just bought a addition IP address and trying to configure it to a specific single domain.
I have added it as admin, then attached it to a reseller, from there attached it to a user, and then as a user I added the IP to one of the domains.
After adding it I have two IP attached to it - one the new dedicated IP and the other is the old shared IP.
I have changed all A records for the domains to point to the new IP.
The problem is that the dedicated IP address doesn't seem to work.
Meaning - when I browser the IP from a browser, I get "Apache is functioning normally" instead of the website.
I have checked /usr/local/directadmin/data/users/user/httpd.conf and it seems fine (I replaced real values to "user" and "domain.com":
In addition, I have noticed that when I had a shared IP to the domain, under "Current IPs Assigned to domain.com", the shared IP was in green color.
The new dedicated IP is normal black.
Does it mean anything?
Where I got from here?
Thanks in advance
I'm in VPS and I just bought a addition IP address and trying to configure it to a specific single domain.
I have added it as admin, then attached it to a reseller, from there attached it to a user, and then as a user I added the IP to one of the domains.
After adding it I have two IP attached to it - one the new dedicated IP and the other is the old shared IP.
I have changed all A records for the domains to point to the new IP.
The problem is that the dedicated IP address doesn't seem to work.
Meaning - when I browser the IP from a browser, I get "Apache is functioning normally" instead of the website.
I have checked /usr/local/directadmin/data/users/user/httpd.conf and it seems fine (I replaced real values to "user" and "domain.com":
Code:
<VirtualHost xx.xxx.xxx.xx:80 >
ServerName www.domain.com
ServerAlias www.domain.com domain.com
ServerAdmin [email protected]
DocumentRoot /home/user/domains/domain.com/public_html
ScriptAlias /cgi-bin/ /home/user/domains/domain.com/public_html/cgi-bin/
UseCanonicalName OFF
SuexecUserGroup user user
CustomLog /var/log/httpd/domains/domain.com.bytes bytes
CustomLog /var/log/httpd/domains/domain.com.log combined
ErrorLog /var/log/httpd/domains/domain.com.error.log
<Directory /home/user/domains/domain.com/public_html>
Options +Includes -Indexes
php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value open_basedir /home/user/:/tmp:/var/tmp:/usr/local/lib/php/
</Directory>
</VirtualHost>
In addition, I have noticed that when I had a shared IP to the domain, under "Current IPs Assigned to domain.com", the shared IP was in green color.
The new dedicated IP is normal black.
Does it mean anything?
Where I got from here?
Thanks in advance