Problem with domain name deploying on DigitalOcean with mupx


#1

I deployed an app to DigitalOcean using mupx. At the time, I didn’t have the real domain set up so I configured it to use a temporary domain like myapp.tempdomain.com. I used that domain in the mup.json and the nginx site conf file.

Once I got the real domain, myapp.domain.com, I changed the configuration and deployed. If I go to http://myapp.domain.com the app comes up however, if I view the page source I see

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>myapp.domain.org</title>
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://myapp.tempdomain.com/" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>
<!-- pageok -->
<!-- 02 -->
<!-- -->
</html>

I double-checked the configuration and I don’t see a reference to myapp.tempdomain.com anywhere. Any ideas why it’s loading that?

Also, why is the site loading in a frameset? Is that the expected behavior? First time deploying a Meteor app so I’m not familiar with that.


#2

Turns out it was related to “domain masking”