301-redirect

Ja, http://blog.mybrain.nl/ is verhuisd naar https://markohoven.com/
Hoe doe je dit nu op een correcte manier?
Binnen IIS kan dit met web.config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <system.webServer>
  <httpRedirect enabled="true" destination="https://markohoven.com" httpResponseStatus="Permanent" />
  <defaultDocument enabled="true">
   <files>
    <clear />
     <add value="index.php" />
     <add value="index.htm" />
     <add value="index.html" />
     <add value="default.asp" />
     <add value="default.aspx" />
     <add value="default.htm" />
     <add value="default.html" />
    </files>
   </defaultDocument>
   <httpErrors errorMode="Custom">
    <remove statusCode="404" subStatusCode="-1" />
    <error statusCode="404" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" />
   </httpErrors>
  </system.webServer>
</configuration>

Een andere mogelijkheid is in code… Continue reading 301-redirect

web.config rules for everything

Don’t forget the basics:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Redirect to HTTPS" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions>
                        <add input="{HTTPS}" pattern="^OFF$" />
                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
                </rule>    
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Continue reading web.config rules for everything

ICANN e-mails

prohosting120x60When you have your own domainname, you will start receiving e-mails about the registration. Some are spam, some are legit. When to take action? Let’s be clear:

Any offer or e-mail about renewing, expiration notices, or about listing in a business directory or search engine, other than e-mails from your own provider, is SPAM!

Any e-mail from ICANN (ERRP / WDRP) or SIDN are just reminders, at the end of your registration year, or to keep your details up to date. Good to know, but ignore these mails. When registering a domain with MyBrain.biz, your domain registration will automatically be renewed every year.

Any other questions? Contact My Brain!

Domain Names = Real Estate

weakest-linkLike your office or your house; Your domain name is the address where people can find you. Like real estate, not all addresses are available, and some addresses are more expensive than others.

It used to be easy: You registered a .com for international business, .org for organisations, or .nl if you only operate in the Netherlands, plus Continue reading Domain Names = Real Estate