Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    254

    Question Push on cpanel the www.domain.com to domain.com

    Hello

    How can i setup on cpanel when a user is coming to my page using
    Code:
    www.mydomain.com
    to auto forward him to
    Code:
    mydomain.com ?
    I think is better to not use the www

    Thank you

  2. #2
    bhd
    bhd is offline
    Member
    Join Date
    Sep 2003
    Location
    JNB ZA
    Posts
    144

    Default Re: Push on cpanel the www.domain.com to domain.com

    Google is your friend

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default Re: Push on cpanel the www.domain.com to domain.com

    Is there any other way than .htaccess file as i am using nginx and it ignores the .htaccess file ?

    Thank you

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Push on cpanel the www.domain.com to domain.com

    This might work, although we don't know your nginx implementation. If it doesn't, you may want to post on whatever support forum that exists for the nginx plugin you are using:

    Redirect from www to non-www using Nginx -- Less Everything Blog
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Session loss switching from domain to www.domain
    By simpleupdates in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-02-2008, 10:46 AM
  2. HELP PLZ - http://domain + http://www.domain same target using cpanel
    By britishnproud in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-12-2007, 06:20 PM
  3. addon domain - very unique domain www(dot)bs
    By spidergoat in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-11-2007, 03:23 PM
  4. WWW.domain.com slower to resolve than domain.com after a transfer
    By spaceman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-03-2004, 10:29 AM
  5. mail.domain.com -> www.domain.com/webmail
    By projectandrew in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-18-2003, 11:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube