Skip to content
PJG Creations Logo
  • Home
  • About Us
  • Blog
  • VB.Net Video Training
  • Contact Us

Redirecting .co.uk to .com with ASP.net MVC IIS7 URL ReWrite 2.0

I recently started work on a new website, where I’ve purchased the .co.uk and .info domain names. However, I wanted to redirect people automatically to the main .com domain. As my host supports the IIS7 URL ReWrite 2.0 module, adding the following section to the primary web.config file solved this for me;

By Peter Gallagher|2013-10-09T08:52:00+00:00October 9th, 2013|ASP.net, MVC, Visual Studio, Web, XML|0 Comments
Read More

Get Social

ABOUT US

PJG Creations creates bespoke desktop and web applications for companies across the country.

Specialising in converting outdated paper based or legacy software systems, to modern, database driven, process led applications.

Our latest Tweets

PJGCreations

- 1 day ago

RT @jongalloway: You can script @code extension install like this: https://t.co/eQhR1SU7V8 Here's an example of a customized, x-plat scri…
h J R
PJGCreations

- 1 day ago

I love this idea... https://t.co/Ga3ABaDjPZ
h J R
PJGCreations

- 1 day ago

RT @pete_codes: Whoop whoop! My "IoT with only your Laptop" was accepted at @DDDNorth! Yey! https://t.co/XqAjj7tSVB
h J R
PJGCreations

- 2 days ago

RT @GosiaBorzecka: Do you want to join us on the first #GlobalAzure Bootcamp in #Nottingham This is your chance! https://t.co/pMj3t4yIys
h J R
Follow PJGCreations
Copyright 2017 PJG Creations Ltd | All Rights Reserved | Terms and Conditions
Toggle Sliding Bar Area
This site uses cookies: Find out more.