Hi Spiceworks,<\/p>\n
I know there’s a lot of topics on this issue already but just wanted a simply stated topic since it’s proving hard to find if a webdeveloper forces non www to the www version using htaccess redirects will that work?<\/p>\n
Our internal domain is domain.tld as is our external website currently.<\/p>\n
Thanks,<\/p>\n
Andrew<\/p>","upvoteCount":3,"answerCount":2,"datePublished":"2023-09-15T12:42:41.000Z","author":{"@type":"Person","name":"andrewestrella","url":"https://community.spiceworks.com/u/andrewestrella"},"acceptedAnswer":{"@type":"Answer","text":"
Yup, should work. Would look a little something like this:<\/p>\n
#Force non-www:\nRewriteEngine on\nRewriteCond %{HTTP_HOST} ^www.example.com [NC]\nRewriteRule ^(.*)$ https://example.com/$1 [L,R=301]\n<\/code><\/pre>","upvoteCount":2,"datePublished":"2023-09-19T14:20:49.000Z","url":"https://community.spiceworks.com/t/split-brain-dns-external-website-htaccess/959149/2","author":{"@type":"Person","name":"doughnutdestroyer","url":"https://community.spiceworks.com/u/doughnutdestroyer"}},"suggestedAnswer":[{"@type":"Answer","text":"Hi Spiceworks,<\/p>\n
I know there’s a lot of topics on this issue already but just wanted a simply stated topic since it’s proving hard to find if a webdeveloper forces non www to the www version using htaccess redirects will that work?<\/p>\n
Our internal domain is domain.tld as is our external website currently.<\/p>\n
Thanks,<\/p>\n
Andrew<\/p>","upvoteCount":3,"datePublished":"2023-09-15T12:42:42.000Z","url":"https://community.spiceworks.com/t/split-brain-dns-external-website-htaccess/959149/1","author":{"@type":"Person","name":"andrewestrella","url":"https://community.spiceworks.com/u/andrewestrella"}}]}}