The following is the technique I use to do subdomain redirects on a web server hosting multiple sites using host headers. For example lets say you have a web server that hosts www.abc-test1.com and xyz-test2.com. You want all subdomain requests to return 301 redirects to the main domain.
Harcourt is a city in Webster County, Iowa, United States. The population was 340 at the 2000 census. Harcourt is located at 42Â°15â²43â³N 94Â°10â²36â³W / 42.26194Â°N 94.17667Â°W / 42.26194; -94.17667 (42.262056, -94.176589). According to the United States Census Bureau, the city has a total area of 0.6 square miles (1.5 kmÂ²), all of it land.
Other nearby hospitals and nursing homes. 1  COMMUNITY ALTERNATIVES-ADEPT (1.18 miles) 2  HARCOURT TERRACE NURSING AND REHABILITATION (0.94 miles) 3  AMERICANA HLTH CARE OF IN N (1.00 miles) 4  NAAB ROAD SURGERY CENTER LLC (1.03 miles) 5  ST VINCENT NEW HOPE INC (1.03 miles) 6  ST VINCENT STRESS CENTER INC (0.75 miles) 7  TRI COUNTY CENTER, INC (0.75 miles)