Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

ASP.NET - Localhost issue

Options
  • 27-05-2011 4:42pm
    #1
    Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,722 Mod ✭✭✭✭


    Folks
    A bit of advice please.

    Doing a revamp of a site for a company, in the dev environment when I run the site and hit a certain page it appears like this:

    https://localhost:2724/Codebase/Payments.html

    Is there anyway I can get it when I run Visual Studio to appear like this?
    https://www.companyname.com/Payments.html

    I am stuck on it badly as I am processing payments but the payment crowd only trust the https://www.companyname.com/Payments.html address and its a live site so I can't change the URL the Payments crowd have.

    Thanks


Comments

  • Registered Users Posts: 11,977 ✭✭✭✭Giblet


    Setup a local IIS server rather than the VS Webdev server, then you can setup the base folder.


  • Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,722 Mod ✭✭✭✭yop


    Giblet wrote: »
    Setup a local IIS server rather than the VS Webdev server, then you can setup the base folder.

    Thanks for that, I did that there in IIS now.

    Can I then set it up so that the site runs as https://www.companyname.com ?

    Where would I do that?

    Thanks


  • Registered Users Posts: 489 ✭✭Pablod


    As far as I know (correct me if i'm wrong)
    You can't run it locally as https://www.companyname.com

    You would need to publish your project to the actual site https://www.companyname.com

    From my own experience testing with a specific Payment procesing site
    The trusted URL's would also be based on the IP address of your URL https://www.companyname.com/Payments.html
    So testing locally would not work.

    Again it depends on the site being used to process the payment, could be a different setup.

    Hope this helps


  • Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,722 Mod ✭✭✭✭yop


    Pablod wrote: »
    As far as I know (correct me if i'm wrong)
    You can't run it locally as https://www.companyname.com

    You would need to publish your project to the actual site https://www.companyname.com

    From my own experience testing with a specific Payment procesing site
    The trusted URL's would also be based on the IP address of your URL https://www.companyname.com/Payments.html
    So testing locally would not work.

    Again it depends on the site being used to process the payment, could be a different setup.

    Hope this helps

    Ah ok. I understand what you are saying.

    The company is Barclays, I have asked the company I am doing the work for to contact them to see what they can do, but they only have 1 single "Allowed URL", bit a pain that.

    Thanks for your help.


Advertisement