I have a domain with godaddy : bewotechno.com. This is the main domain, and has a website hosted on another hosting.
My rails app is deployed at digital ocean with Nginx-Unicorn-Ubuntu stack.
I created a sub-domain called support.bewotechno.com, and pointed it to this droplet. I get the following response (on the browser):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>support.bewotechno.com</title> </head> <frameset rows="100%,*" border="0"> <frame src="http://22.214.171.124" frameborder="0" /> <frame frameborder="0" noresize /> </frameset> <!-- pageok --> <!-- 04 --> <!-- --> </html>
I’ve tried to do some debugging, and the problem is definitely with the rails app.
What I tried, and some interesting results :
How do I get the page to show up with the subdomain? What’s going on here?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!