<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 10/1/2013 11:11 AM,
      <a class="moz-txt-link-abbreviated" href="mailto:wcstaff@webcoast.com">wcstaff@webcoast.com</a> wrote:<br>
    </div>
    <blockquote cite="mid:08f901cebed1$a3c63000$eb529000$@webcoast.com"
      type="cite"><span style="font-size:12.0pt;font-family:"Times
        New Roman","serif"">Webserver Aliases is checked
        or not. When I click on domain.com, it redirects to another main
        website</span></blockquote>
    <br>
    There are only two possibilities. <br>
    1. The dns is pointing to the wrong IP. <br>
      From the command line, you can check it. <br>
      dig somedomain.com<br>
      dig <a class="moz-txt-link-abbreviated" href="http://www.somedomain.com">www.somedomain.com</a><br>
    <br>
      Make sure both are resolving to the same correct IP. <br>
    <br>
    2. The web aliases are not set. <br>
    From the GUI, delete the web aliases, then save. Re-add the web
    aliases and re-save. <br>
    Then check it. <br>
    The redirect might be cached in your browser so try  it with a query
    string <br>
    <a class="moz-txt-link-freetext" href="http://www.somedomain.com/?test">http://www.somedomain.com/?test</a><br>
    <a class="moz-txt-link-freetext" href="http://somedomain.com/?test">http://somedomain.com/?test</a><br>
    <br>
    If there is still a problem, check the actual file. Look at the
    webaliases line. <br>
    ls -la /home/sites | grep somedomain.com<br>
    #that will show you the site number. <br>
    <br>
    E.g. <br>
    <a class="moz-txt-link-abbreviated" href="http://www.somedomain.com">www.somedomain.com</a> -> ../.sites/93/site73<br>
    <br>
    Look at that config file on the ServerAlias line   using for example
    <br>
    nano -w  /etc/httpd/conf/vhosts/site73<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Ken Marcus
Precision Web Hosting, Inc. 
<a class="moz-txt-link-abbreviated" href="http://www.precisionwebhosting.com">www.precisionwebhosting.com</a></pre>
  </body>
</html>