[BlueOnyx:13777] Re: WEB Alias problems

Ken Marcus kenmarcusprecisionweb at gmail.com
Tue Oct 1 13:34:50 -05 2013


On 10/1/2013 11:11 AM, wcstaff at webcoast.com wrote:
> Webserver Aliases is checked or not. When I click on domain.com, it 
> redirects to another main website

There are only two possibilities.
1. The dns is pointing to the wrong IP.
   From the command line, you can check it.
   dig somedomain.com
   dig www.somedomain.com

   Make sure both are resolving to the same correct IP.

2. The web aliases are not set.
 From the GUI, delete the web aliases, then save. Re-add the web aliases 
and re-save.
Then check it.
The redirect might be cached in your browser so try  it with a query string
http://www.somedomain.com/?test
http://somedomain.com/?test

If there is still a problem, check the actual file. Look at the 
webaliases line.
ls -la /home/sites | grep somedomain.com
#that will show you the site number.

E.g.
www.somedomain.com -> ../.sites/93/site73

Look at that config file on the ServerAlias line   using for example
nano -w  /etc/httpd/conf/vhosts/site73

-- 
Ken Marcus
Precision Web Hosting, Inc.
www.precisionwebhosting.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20131001/a06c7e38/attachment.html>


More information about the Blueonyx mailing list