PDA

View Full Version : strange redirecting problem


Project9
2003-11-21, 17:32 PM
I can create virtual domains without any errors but when I type http://www.domain.com into browser then after couple seconds I am redirected to https://www.domain.com:19638/webhost/rollout/site

And example of one on my server is www.jmarshbuilders.com

I run redhat.

QT
2003-11-21, 18:01 PM
You are being redirected to that secure site because the web server does not recognize the domain you are asking for. It looks like you have some DNS problems here. The first thing I noticed is that you have a one of your nameservers pointing to a CNAME:

$ host -t ns jmarshbuilders.com
jmarshbuilders.com NS s1.project9studios.com
jmarshbuilders.com NS s2.project9studios.com

$ host s1.project9studios.com s1.project9studios.com
s1.project9studios.com CNAME project9studios.com
project9studios.com A 66.135.34.221

It is a bad idea to use a CNAME for a nameserver because it requires extra steps to resolve and slows things down.

You are also missing an A record for your domain:

$ host jmarshbuilders.com
jmarshbuilders.com A record currently not present

This will cause some people to not be able to see your site, and may cause the web server on your server to not recognize the domain it is supposed to be serving. Name-based hosting is highly dependent on DNS working properly, so you need to correct your DNS problems before you can move on to troubleshooting your site. :)

Project9
2003-11-27, 03:35 AM
ok, i believe i have fixed the issue you were talking about with the cname. I still cannot setup any new domains though.


I have done the only I can think of to remedy the problem for the moment.... I copied the files in
/home/virtual/jmarshbuilders.com/var/www/html/

to the

/var/www/html/

folder just so I could get my customer to calm down while the problem is resolved.

I put a ticket in to check it out back on 2003-11-21 16:03:49-06
and recieved one response to it for more info but it looks like everyones been out for Thanksgiving for the past week :)