Users can't see site.

RivaCom

Verified User
Joined
Apr 1, 2005
Messages
6
I create an account. Both name servers resolve to my server and the ns ip's fine. Domain is fully updated.

But when I goto it all I get is the apache screen.

Anyone know why this may not be working right?
 
Check the users httpd.conf file and make sure it is correct (/usr/local/directadmin/data/users/user/)
and make sure that the httpd.conf file is included in the main httpd.conf file (usually /etc/httpd/conf) and restart apache, which might not have been done.

Do other account's and their domains work? In other words, is this a contained or global (server) problem?
 
Did the httpd.conf files look right?
Might want to make sure that the master httpd.conf file was written properly as well by comparing to the master template that was used during installation: /usr/local/directadmin/data/templates/httpd.conf

Not much else I can think of without new information popping up, such as error messages, interesting log entries, etc.
 
They both seem to match up fine. The only errors I really get is.


[Tue Apr 5 18:44:32 2005] [error] [client 24.49.222.164] File does not exist: /var/www/html/404.shtml
[Tue Apr 5 18:44:37 2005] [error] [client 24.49.222.164] File does not exist: /var/www/html/favicon.ico
[Tue Apr 5 18:44:37 2005] [error] [client 24.49.222.164] File does not exist: /var/www/html/404.shtml
[Tue Apr 5 19:00:03 2005] [error] [client 68.23.76.97] File does not exist: /var/www/html/~bigc
[Tue Apr 5 19:00:03 2005] [error] [client 68.23.76.97] File does not exist: /var/www/html/404.shtml
[Tue Apr 5 19:00:03 2005] [error] [client 68.23.76.97] File does not exist: /var/www/html/favicon.ico
[Tue Apr 5 19:00:03 2005] [error] [client 68.23.76.97] File does not exist: /var/www/html/404.shtml
[Tue Apr 5 19:00:09 2005] [error] [client 68.23.76.97] File does not exist: /var/www/html/~losanimales.net
 
Any errors when you try accessing the domains?

Somebody else might have another idea you could try. I would need to get on the server to really troubleshoot further.
 
Here is the users httpd.conf file for that account.

# Auto generated apache config file by DirectAdmin version 1.23.4
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to his/her website

# Frontpage requires these parameters in every httpd.conf file or else
# it won't work.
Port 80
ServerRoot /etc/httpd


<VirtualHost 198.70.62.105:80>


ServerName www.shoxland.com
ServerAlias www.shoxland.com shoxland.com
ServerAdmin [email protected]
DocumentRoot /home/shox/domains/shoxland.com/public_html
ScriptAlias /cgi-bin/ /home/shox/domains/shoxland.com/public_html/cgi-bin/

UseCanonicalName OFF

User shox
Group shox
CustomLog /var/log/httpd/domains/shoxland.com.bytes bytes
CustomLog /var/log/httpd/domains/shoxland.com.log combined
ErrorLog /var/log/httpd/domains/shoxland.com.error.log

<Directory /home/shox/domains/shoxland.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/shox/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/

</VirtualHost>


As you see it looks fine, but I have no idea why it just won't goto this site. Or why any of the users won't see thier site. Also the temp address http://198.70.62.105/~shox does not work.
 
Last edited:
When I go to the link http://198.70.62.105/~shox, I can see it fine. However, I also get the Apache Startup page when I go to www.shoxland.com.

I'm not sure what's wrong?? You're right it looks ok to me. What version of Apache are you running? 1.3 or 2.0??

Here is an output of a user file (domain has been changed) that is working fine for me on Apache 2.0:

# Auto generated apache config file by DirectAdmin version 1.23.5
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to his/her website

# Frontpage requires these parameters in every httpd.conf file or else
# it won't work.
ServerRoot /etc/httpd


<VirtualHost 206.222.222.60:80>


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

UseCanonicalName OFF

SuexecUserGroup bob bob
CustomLog /var/log/httpd/domains/bob.com.bytes bytes
CustomLog /var/log/httpd/domains/bob.com.log combined
ErrorLog /var/log/httpd/domains/bob.com.error.log

<Directory /home/bob/domains/bob.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/bob/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/

</VirtualHost>


Also, make sure your /etc/httpd/conf/ips.conf is ok. Make sure it has a NameVirtualHost statement for your IP:Port.

All I can think of for now.

Louie
 
Last edited:
Back
Top