Create User Account on Dedicated IP

gongster

Verified User
Joined
Dec 5, 2004
Messages
7
Hello, I am trying to create a user on a dedicated IP so he can have his own SSL certificate. The thing is, the user account gets created and in the IPs section it says the user owns the IP.

The problem is that when I type in the user's domain it goes to the Apache welcome page instead of loading his index.html.

Any help on this will be appreciated.

Thanks!
 
I think that the virtual-host definition is not seen by apache.

Try restarting the httpd service, if that does not work try deleting the account and creating it again.

Regards,
Onno
 
When I type the IP address that I set to own the account it goes to his page. Its only when I type the domain, it goes to the Apache welcome page.
 
Have a look in the custom httpd.conf for this user (you can get at it from your admin control panel. See if everything is ok.

I'll see if I can get the support staff from DA to look at this thread.
 
This is the httpd.comf for the account:

ServerRoot /etc/httpd


<VirtualHost 64.21.21.180:80>


ServerName www.test.bunfire.com
ServerAlias www.test.bunfire.com test.bunfire.com
ServerAdmin [email protected]
DocumentRoot /home/custy/domains/test.bunfire.com/public_html
ScriptAlias /cgi-bin/ /home/custy/domains/test.bunfire.com/public_html/cgi-bin/

UseCanonicalName OFF

User custy
Group custy
CustomLog /var/log/httpd/domains/test.bunfire.com.bytes bytes
CustomLog /var/log/httpd/domains/test.bunfire.com.log combined
ErrorLog /var/log/httpd/domains/test.bunfire.com.error.log

<Directory /home/custy/domains/test.bunfire.com/public_html>
Options +Includes -Indexes
php_admin_flag engine ON
php_admin_flag safe_mode OFF
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
</Directory>



#php_admin_value open_basedir /home/custy/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/

</VirtualHost>


<VirtualHost 64.21.21.180:443>

SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key


ServerName www.test.bunfire.com
ServerAlias www.test.bunfire.com test.bunfire.com
ServerAdmin [email protected]
DocumentRoot /home/custy/domains/test.bunfire.com/private_html
ScriptAlias /cgi-bin/ /home/custy/domains/test.bunfire.com/public_html/cgi-bin/

UseCanonicalName OFF

User custy
Group custy
CustomLog /var/log/httpd/domains/test.bunfire.com.bytes bytes
CustomLog /var/log/httpd/domains/test.bunfire.com.log combined
ErrorLog /var/log/httpd/domains/test.bunfire.com.error.log

<Directory /home/custy/domains/test.bunfire.com/private_html>
Options +Includes -Indexes
php_admin_flag engine ON
php_admin_flag safe_mode OFF
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
</Directory>



#php_admin_value open_basedir /home/custy/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/

</VirtualHost>
 
Your httpd.conf file tells DA to look at this IP# for the site:

64.21.21.180

But your registrar says your site is served by these nameservers:

dns1.name-services.com
dns2.name-services.com
dns3.name-services.com
dns4.name-services.com
dns5.name-services.com

All of these nameservers direct requests for this site to this IP#:

209.123.181.195

So the first question is who controls the nameservers? If you, then you need to change your DNS records on those nameservers to the proper IP#, or tell DA to listen to 209.123.181.195.

If you don't control the nameservers, then you need to change the site, at the registrar, to use your nameservers.

Jeff
 
Last edited:
Oh thats why! I would be using my own name servers right now but my registrar is really bad with the name servers. When I tried to switch name servers on the registrar it says DNS modification error. This is something I am discussing to the support about!
 
Back
Top