Web Hosting Talk







View Full Version : Help! RaQ Automatically Redirecting!


AbbasJaffarali
08-17-2001, 11:41 AM
One of our clients (that's been set as a virtual site) called me yesterday and said that their website (let's call it www.client.com) was not showing their homepage. So I logged on and what was happening is that it's automatically forwarding it to my main (root) RaQ site!

I deletd the site, removed the entries from DNS (I'm running my own DNS) and the recreated the site and re-configures the DNS but still, if you type www.client.com in the browser, it automatically jumps to www.domain.com!

What's happening? Why did this happen all of a sudden? All the other virtual sites are working just fine!

-Abbas

Chicken
08-17-2001, 10:27 PM
Well, there's not really a good explanation of why this would happen 'all of a sudden' if it worked fine as set up before. Just make sure DNS is correct and for kicks, check httpd.conf and srm.conf to see what the listed paths are for client.com (making sure there wasn't some odd site set up error).

If this woked before for some time and now doesn't without changes, then I'm at a loss. Think of what you've done recently (if anything), software installs, etc. Who knows...

Omair Haroon
08-18-2001, 03:06 AM
I think this would be a DNS Problem.


Is it possible for you to paste your DNS Settings here ??


' Omair

AbbasJaffarali
08-18-2001, 03:28 AM
DNS settings seem ok. There are only two entires for this Domain:

paristower.com -> 216.12.210.101
www.paristower.com -> 216.12.210.101

The Virtual Site is also set to the above IP address. They dont use email so MX settings aren't set. There are a few other clients on this IP address and I have enabled PTR on one of them

Thanks
Abbas

Omair Haroon
08-18-2001, 03:34 AM
hmmm..

did you checked httpd.conf and srm.conf as chicken adviced ??

AbbasJaffarali
08-18-2001, 03:37 AM
No..Haven't checked those two files. Let me try to go through them. Where would they be located?

Thanks
-Abbas

Omair Haroon
08-18-2001, 03:43 AM
SRM.Conf
-> /etc/httpd/conf/srm.conf

httpd.conf
-> /etc/httpd/conf/httpd.con
:p


' Omair

AbbasJaffarali
08-18-2001, 03:49 AM
Thanks Omair.

Telnetting into my machine right now!

-Abbas

Omair Haroon
08-18-2001, 03:57 AM
No Problem.. :)

AbbasJaffarali
08-18-2001, 04:03 AM
Here's how the http.conf looks for this particular domain:

<VirtualHost 216.12.210.101>
ServerName www.paristower.com
ServerAdmin admin
DocumentRoot /home/sites/site6/web
ServerAlias paristower.com
RewriteEngine on
RewriteCond %{HTTP_HOST} !^216.12.210.101(:80)?$
RewriteCond %{HTTP_HOST} !^www.paristower.com(:80)?$
RewriteRule ^/(.*) http://www.paristower.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site6/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
</VirtualHost>

What should I look for in the srm.conf file?

Thanks
Abbas

Omair Haroon
08-18-2001, 04:11 AM
I am sure there is something fishy going on with your dns entries..

Here is what I got while doing a dns paristower.com


-
*** Looking up paristower.com
-
*** Resolved paristower.com to 216.12.210.14


this may be ofcourse the IP of your main raq site..
isn't it ?? :rolleyes:

AbbasJaffarali
08-18-2001, 04:13 AM
Yep...that's the IP for the NS1 of my main site

-Abbas

Omair Haroon
08-18-2001, 04:25 AM
Hmm..
How come its resolving to your ns1 ip instead of its ip ??