SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru D-flyer's Avatar
    Join Date
    Jan 2001
    Location
    Near a computer
    Posts
    782
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to let my subdomain in the address bar???

    Hi all,

    Can't figure this out. I have a semi private server where i configure a maindomain.com with a couple of subdomains. (subdomainA.com, subdomainB.com etc).

    No subdomainB.com must be the main url and i would like to indexed all pages with subdomainB.com. But first i would like subdomainB.com to stay in the url address bar. Now it just redirects to maindomain.com each time i click on link

    Any htaccess tips??

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    D-f,

    Same as another current thread. IF you're not able to access subdomainB.com via URL, then your host has disabled something that need not be disabled (it's available by default with my CPanel). Okay, it IS possible that you're using mod_rewrite to redirect to the subdirectory of the domain.com but I don't get that from my reading of your post.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

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