Skip to content

www. Infront stops website access?

Solved Configure
10 2 755 1
  • Strange thing today, thought my pals nodebb.com site was down, as browser prevented access.
    It gave the your connection is not private security warning (like when theres no SSL)
    But Ive been told issue was that i was using
    www.sitename.nodebb.com
    And should just use sitename.nodebb.com
    !
    Have I missed something, since when did www. stop websites accessing properly?

  • Strange thing today, thought my pals nodebb.com site was down, as browser prevented access.
    It gave the your connection is not private security warning (like when theres no SSL)
    But Ive been told issue was that i was using
    www.sitename.nodebb.com
    And should just use sitename.nodebb.com
    !
    Have I missed something, since when did www. stop websites accessing properly?

    @Panda www these days is typically an alias record in DNS, and isn’t a requirement for the site to function. Most websites (including this one 🙂 ) drop the www part as it’s less for people to type (but it will accept those requests, then strip it back to the actual URL). Only those who have a legacy reason to include www in their website addresses these days do so.

    It’s considered unnecessary in today’s internet landscape. However, if the site presents an SSL certificate mismatch or warning, then this will actually not only harm your SEO (Google penalises against this), but it also means that if you proceed, every transaction on the site will be in plain text - not good at all.

    Furthermore, those sites (like NodeBB) that require a specific URL to operate against won’t work properly because of the mismatch, and that site should then be forcing all non-https traffic to https to ensure that this does not happen.

    Essentially, not doing so isn’t just bad etiquette, it’s bad for overall security. Depending on the host in use (either Apache or NGINX), there are a variety of ways to accomplish this. One of the easiest ways if you use Cloudflare is to do it with a page rule - failing that, a few simple lines of config is all it takes to resolve it.

    A bit more on the whole www part here

    https://dropwww.com/why

  • phenomlabundefined phenomlab has marked this topic as solved on
  • @Panda www these days is typically an alias record in DNS, and isn’t a requirement for the site to function. Most websites (including this one 🙂 ) drop the www part as it’s less for people to type (but it will accept those requests, then strip it back to the actual URL). Only those who have a legacy reason to include www in their website addresses these days do so.

    It’s considered unnecessary in today’s internet landscape. However, if the site presents an SSL certificate mismatch or warning, then this will actually not only harm your SEO (Google penalises against this), but it also means that if you proceed, every transaction on the site will be in plain text - not good at all.

    Furthermore, those sites (like NodeBB) that require a specific URL to operate against won’t work properly because of the mismatch, and that site should then be forcing all non-https traffic to https to ensure that this does not happen.

    Essentially, not doing so isn’t just bad etiquette, it’s bad for overall security. Depending on the host in use (either Apache or NGINX), there are a variety of ways to accomplish this. One of the easiest ways if you use Cloudflare is to do it with a page rule - failing that, a few simple lines of config is all it takes to resolve it.

    A bit more on the whole www part here

    https://dropwww.com/why

    @phenomlab the only problem is that some places require the www to know its a website.
    E.g. if I write,
    aignite.nodebb.com
    (This page does recognise its a link. But some chat / media pages dont)
    Or if I write
    www.aignite.nodebb.com

    From what you wrote above, do you say its ok for nodebb to have it set up such that the www one doesnt work?
    Many people not so technical may write www., out of habit.

    Further thought, how does this site know which of the following are links?
    test
    test.one
    test.com
    test.test2.org

  • @phenomlab the only problem is that some places require the www to know its a website.
    E.g. if I write,
    aignite.nodebb.com
    (This page does recognise its a link. But some chat / media pages dont)
    Or if I write
    www.aignite.nodebb.com

    From what you wrote above, do you say its ok for nodebb to have it set up such that the www one doesnt work?
    Many people not so technical may write www., out of habit.

    Further thought, how does this site know which of the following are links?
    test
    test.one
    test.com
    test.test2.org

    @Panda said in www. Infront stops website access?:

    the only problem is that some places require the www to know its a website

    This isn’t the case at all. All websites even without the www part will still begin with either http or https even if entered directly into the address bar as (for example) mysite.mydomain.com - the browser will first try http then https and ideally, if the request is received as http it should then by issued a 301 permanent redirect to https

  • @phenomlab the only problem is that some places require the www to know its a website.
    E.g. if I write,
    aignite.nodebb.com
    (This page does recognise its a link. But some chat / media pages dont)
    Or if I write
    www.aignite.nodebb.com

    From what you wrote above, do you say its ok for nodebb to have it set up such that the www one doesnt work?
    Many people not so technical may write www., out of habit.

    Further thought, how does this site know which of the following are links?
    test
    test.one
    test.com
    test.test2.org

    @Panda said in www. Infront stops website access?:

    From what you wrote above, do you say its ok for nodebb to have it set up such that the www one doesnt work?
    Many people not so technical may write www., out of habit.

    100%, yes, as it’s the industry standard. If anyone does write www that should auto redirect to the correct convention. Try accessing this site as www and see what happens.

  • @phenomlab the only problem is that some places require the www to know its a website.
    E.g. if I write,
    aignite.nodebb.com
    (This page does recognise its a link. But some chat / media pages dont)
    Or if I write
    www.aignite.nodebb.com

    From what you wrote above, do you say its ok for nodebb to have it set up such that the www one doesnt work?
    Many people not so technical may write www., out of habit.

    Further thought, how does this site know which of the following are links?
    test
    test.one
    test.com
    test.test2.org

    @Panda said in www. Infront stops website access?:

    Further thought, how does this site know which of the following are links?
    test
    test.one
    test.com
    test.test2.org

    Because the a href anchor will only react to valid TLD (Top Level Domains), of which .one isn’t, and no suffix at all will obviously be ignored and treated as text.

  • @Panda said in www. Infront stops website access?:

    From what you wrote above, do you say its ok for nodebb to have it set up such that the www one doesnt work?
    Many people not so technical may write www., out of habit.

    100%, yes, as it’s the industry standard. If anyone does write www that should auto redirect to the correct convention. Try accessing this site as www and see what happens.

    @phenomlab
    Im not talking about entering in a browser, but writing in a post

    So on Discord I mesaged someone
    www.aignite.nodebb.com
    And it gave the SSL error when clicked
    Nodebb.org arent striping the www

  • @phenomlab
    Im not talking about entering in a browser, but writing in a post

    So on Discord I mesaged someone
    www.aignite.nodebb.com
    And it gave the SSL error when clicked
    Nodebb.org arent striping the www

    @Panda if I check that URL, it redirects to the NodeBB home page.

  • @Panda if I check that URL, it redirects to the NodeBB home page.

    @phenomlab said in www. Infront stops website access?:

    @Panda if I check that URL, it redirects to the NodeBB home page.

    Yes, but why?!

  • @phenomlab said in www. Infront stops website access?:

    @Panda if I check that URL, it redirects to the NodeBB home page.

    Yes, but why?!

    @Panda because there is no match for the DNS entry specified. The receiving web server parses the headers looking for a destination hostname to match, and anything the web server is unable to resolve will be sent back to the root.


Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗

Related Topics
  • Custom html in nodebb to prevent cache

    Unsolved Configure nodebb
    18
    2 Votes
    18 Posts
    1k Views
    @Panda You’ll need to do that with js. With some quick CSS changes, it looks like this [image: 1690796279348-d619844f-fbfe-4cf1-a283-6b7364f6bf18-image.png] The colour choice is still really hard on the eye, but at least you can now read the text
  • Nodebb 3.2.0

    Bugs nodebb nodebb 3.2.0
    20
    1
    2 Votes
    20 Posts
    2k Views
    @crazycells yes, I’m aware of that. Need to fix EDIT- fixed. Caused by the same CSS that is used to absolutely position the “verified” group badge in the posts view. Amended this CSS so that is specifically targets the post stream as below li[component="post"] a[href*="/groups/verified"] { position: absolute !important; left: 8px; z-index: 2; margin-top: 1px; border-radius: 999px !important; line-height: 14px; display: block; height: 22px; margin-left: 0px !important; }
  • SEO and Nodebb

    Performance nodebb seo
    2
    2 Votes
    2 Posts
    424 Views
    @Panda It’s the best it’s ever been to be honest. I’ve used a myriad of systems in the past - most notably, WordPress, and then Flarum (which for SEO, was absolutely dire - they never even had SEO out of the box, and relied on a third party extension to do it), and NodeBB easily fares the best - see below example https://www.google.com/search?q=site%3Asudonix.org&oq=site%3Asudonix.org&aqs=chrome..69i57j69i60j69i58j69i60l2.9039j0j3&sourceid=chrome&ie=UTF-8#ip=1 However, this was not without significant effort on my part once I’d migrated from COM to ORG - see below posts https://community.nodebb.org/topic/17286/google-crawl-error-after-site-migration/17?_=1688461250365 And also https://support.google.com/webmasters/thread/221027803?hl=en&msgid=221464164 It was painful to say the least - as it turns out, there was an issue in NodeBB core that prevented spiders from getting to content, which as far as I understand, is now fixed. SEO in itself is a dark art - a black box that nobody really fully understands, and it’s essentially going to boil down to one thing - “content”. Google’s algorithm for indexing has also changed dramatically over the years. They only now crawl content that has value, so if it believes that your site has nothing to offer, it will simply skip it.
  • 11 Votes
    14 Posts
    2k Views
    @dave1904 excellent news. Thanks for the feedback
  • 14 Votes
    69 Posts
    16k Views
    @phenomlab Seems to be better with some scaling fix for redis on redis.conf. I haven’t seen the message yet since the changes I made # I increase it to the value of /proc/sys/net/core/somaxconn tcp-backlog 4096 # I'm uncommenting because it can slow down Redis. Uncommented by default !!!!!!!!!!!!!!!!!!! #save 900 1 #save 300 10 #save 60 10000 If you have other Redis optimizations. I take all your advice https://severalnines.com/blog/performance-tuning-redis/
  • Forum Icons NodeBB

    Solved Customisation icons forum nodebb
    13
    0 Votes
    13 Posts
    1k Views
    @cagatay That matches what I see [image: 1667218162107-4f0f858d-9812-42b1-9f61-ffb13d31dccd-image.png]
  • 0 Votes
    9 Posts
    1k Views
    @downpw I’m inclined to agree with this. There isn’t much else you can do, and provided it works with no odd looking artefacts in other browsers, then ok. The :before and :after are pseudo classes and very well supported across all browsers (except perhaps Internet Exploder, but who uses that these days ?)
  • RSS parser script [NodeBB]

    Customisation nodebb rss script
    47
    9 Votes
    47 Posts
    7k Views
    @phenomlab said in RSS parser script [NodeBB]: @jac Not yet. Sorry. Have some other work commitments I need to prioritise. Hoping to get to this over the weekend. No worries at all mate, thanks