How to Twitter Authenticate with multiple hostnames from one domain using the same Twitter App?

Viewed 719

I have two hostnames that get sent to the same IP by my DNS:

  • theark.info
  • www.theark.info

I explicitly set my callback and domain name in my Twitter App using theark.info. What is the best way to make sure I can use the same Twitter App for Oauth using www.theark.info, as I currently get an error:

Internal Server Error

In my DNS I have a CNAME www in my DNS that points to theark.info

Maybe I need to manipulate the DOM using Express and Javacsript on requests?

1 Answers
Related