Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2004
    Posts
    48

    subdomain rewrite with matching url

    I know I know it's a simple question but I've spent hours on Google and here and I can't find the right config.

    CPanel/WHM. I have jo.domain.org that works and pulls index from www/jo/index.htm

    But it changes the url in the address bar to domain.org/jo and I want it to stay jo.domain.org

    Also if possible I'd like anyone that goes to domain.org/jo (some that have bookmarked the ugly name) to get the new address jo.domain.org.

    Please save my sanity...

    Thanks

  2. #2
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,100
    Thinguy,

    Edit your httpd.conf file and turn off the 'UseCanonicalName' :

    UseCanonicalName Off

    This will solve your problem...
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  3. #3
    Join Date
    Feb 2004
    Posts
    48
    Thanks for the quick reply but that didn't work.

  4. #4
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,100
    Have you restarted your apache service after doing this change in your httpd.conf file?
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  5. #5
    Join Date
    Feb 2004
    Posts
    48
    Yep. No joy

  6. #6
    Join Date
    Feb 2004
    Posts
    48
    Anyone have any ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •