How to Setup a Custom Domain Name for GoPhish on AWS

How to Setup a Custom Domain Name for GoPhish on AWS


AWS makes it easy to set up a custom domain name for GoPhish, allowing you to protect your identity, keep emails out of spam folders, and prevent your phishing simulations from being blocked. In this article, we will guide you step by step through the process of setting up a custom domain name for GoPhish on AWS, ensuring that your phishing campaigns and email communication are done with greater credibility and safety.

Setting Up a Custom Domain for Gophish

  1. Purchase a custom domain name from any vendor of your choice.
  2. On your AWS console, navigate to your Gophish instance and copy the Public IP address and Public IPv4 DNS.
  3. On your domain provider, go to Advanced DNS and click Add New Record. Select A Record and input your public IP of your AWS instance as the value. Save the record
  4. Click New Record and select CNAME Record. Input “www” in the Host field and input your Instance Public IPv4 DNS in the Value field. 
  5. Go back to your AWS console and navigate to Route 53. On the left pane of the dashboard, click Hosted Zones. Select Create New Hosted Zone. 
  6. On the menu, input your domain name in the Domain Name field. Under Type, select Public hosted zone.
  7. Click Create Record. Input your Gophish public IPv4 under the Value field. Leave the Record Name field blank. Click Create Record at the bottom of the screen.
  8. To test, run in your browser. If it returns your Gophish instance, your setup was successful


In conclusion, setting up a custom domain name for GoPhish on AWS might seem like a daunting task, but it’s actually quite simple if you follow the right steps. By choosing a domain name that reflects your brand or organization, you can enhance the credibility of your phishing campaigns and increase the likelihood of successful engagements with your targets.