Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default Redirect to different domain.

    hi,
    Our policy is to give each server 2 names, usually ns1.somedomain.com and ns2.somedomain.com. Today I have suddenly noticed, that if I go to ns2.somedomain.com I am beeing redirected to another domain (that also is on that box). I searched for any redirect settings, even added VirtualHost entry to ns2.somedomain.com, but nothing helps. How is that possible?



    Anton.
    * http://www.aleksandrov.eu/ - just a simple personal homepage.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you're using the IP address for ns2 for hosting domains on too, then you'd need to make sure that that VirtualHost container for ns2 is the first in httpd.conf to use that IP address (and move the NameVirtualHost directive above it too if necessary).
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 07-20-2011, 07:50 AM
  2. Domain Redirect
    By jarius in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-01-2008, 07:20 PM
  3. redirect domain.com/file.html to sub.domain.com??
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-14-2006, 04:38 AM
  4. redirect a parked domain to an add-on domain?
    By doeskin in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-15-2005, 10:30 AM
  5. sub domain redirect help
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-11-2002, 12:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube