0

I have the domain somedomain.com registered with Namecheap. NearlyFreeSpeech hosts the site.

I've added ns.phx1.nearlyfreespeech.net and ns.phx2.nearlyfreespeech.net to that domain's custom nameservers list on Namecheap.

I'd like to add a subdomain "test" so that test.somedomain.com goes to my Linode box. Where must I change/add records to accomplish this?

Update

I added A and AAAA records to my NearlyFreeSpeech DNS settings.

My A record looks kinda like this:

test.somedomain.com A MY.IP.ADDRESS.HERE

But when I go to test.somedomain.com, I get a Bad Request (400) error.

Update 2

I'm using nginx. I followed Linode's tutorial on setting up a Django project on an Ubuntu 14.04 box.

Maybe I configured the hostname file wrong?

Here's what's in my /etc/hosts:

127.0.0.1       localhost.localdomain   loclhost
127.0.1.1       ubuntu.members.linode.com       ubuntu
MY.LINODE.IP.ADDRESS    dev.somedomain.com       dev
  • 2
    If you're using nearlyfreespeech.net's nameservers, you'd make the record there. – ceejayoz May 8 '18 at 20:19
  • @ceejayoz Updated question – Username May 9 '18 at 4:25
  • 1
    A 400 error has nothing to do with DNS and indicates some other issue. Check your logs. – ceejayoz May 9 '18 at 11:53
  • @ceejayoz Updated question again – Username May 9 '18 at 17:25

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.