Need Help?

  •   Chat on Gitter
  •   Github Issues
  •   Ask on StackOverflow - tag aahframework

Tutorial - Domain, Subdomain and Wildcard Subdomain

Goal of this tutorial application is to give you an idea how to use Domain, Subdomain and Wildcard Subdomain using aah framework. Reference to Routes Config.

How to get the aah tutorials source code?

go get -u -d

Focus on following files:


Let’s see it in the action

Configuring local DNS mapping

First we have to configure your hosts file. Purpose is do local DNS mapping for This step is not applicable for production, typically these settings happens in your domain DNS manager. Learn more about Wildcard DNS - wikipedia

This rackspace article covers the steps to modify-your-hosts-file for Mac, Linux and Windows.

Running the tutorial application

aah run -i

Now visit these URL’s in your browser :)

Spread the word of aah, the web framework for Go. Thank you!