Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

New subdomain that just shows the main domain? [moved]

Discussion in 'General Discussion' started by bullhakow, Aug 10, 2005.

  1. bullhakow

    bullhakow Registered

    Joined:
    Aug 10, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    New subdomain that just shows the main domain?

    This may sound stupid but my work only lets me visit a few sites related to banking. Fortunately they allow any site with ".mastercard." in the address.

    So my question is how to make "www.mastercard.mysite.com" show the exact same thing as "www.mysite.com".

    I know you guys will help me in wasting time at work :) Thanks

    Btw, I didn't mean mysite.com, it was just an example.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,756
    Likes Received:
    87
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    park mastercard.mysite.com on top of mysite.com
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bullhakow

    bullhakow Registered

    Joined:
    Aug 10, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Yeah, I tried that but it came up with an error:

     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,756
    Likes Received:
    87
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    your right you will have to add it as a subdomain and then edit your httpd.conf to point to to your public_html folder for your main site


    if you dont have root access have your host do it for you :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice