Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    May 2011
    Posts
    6
    Member #
    27980
    Hi every one,

    I am working on the final project and i need some help:

    I want in the coding if customer is typing (domain) or www . (domain) both works ??!!

    Thank you .

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I edited the post because the link itself wasn't necessary.

    That's not a code setting. That's a server setting. In IIS, it's called a binding, and you have to add both the non-www and www version of it to your site to make it work (exact instructions depend on your IIS version, and they're all different). Once you do it the first time, it's actually pretty easy (takes about 30 seconds).

    Not sure how to do it with other server OSes.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    hmmmm..... never did a binding ( ??? ), I handle this on the DNS server for the domain... unless you're talking about the HOST HEADER settings ???

    I guess I'm not understanding the question ( perhaps )... but you're right... big difference if you have access to the actual DNS records for your domain vs. managing on a "shared server" vs. "dedicated server" vs. "natted server"... etc.....

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    That's what it is, yeah. The host headers. They're called binding in IIS7.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:48 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com