• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Install node bb but how to change the domain

Scheduled Pinned Locked Moved General Discussion
36 Posts 4 Posters 14.1k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    a_5mith
    replied to SANTOSH KUMAR on last edited by
    #27

    @SANTOSH-KUMAR

    No problem, if you get a fail message when you reload nginx, then you've pasted the server block wrong and will need to check it to make sure you followed the above steps correctly. To paste the server block into SSH, use right click on your mouse. 👍

    1 Reply Last reply
    0
  • SANTO007S Offline
    SANTO007S Offline
    SANTOSH KUMAR
    wrote on last edited by
    #28

    server {
    listen 80;

    server_name forum.example.org;
    
    location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
    
        proxy_pass http://127.0.0.1:4567/;
        proxy_redirect off;
    
        # Socket.IO Support
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
    

    }
    Does these are the server blocks

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    a_5mith
    replied to SANTOSH KUMAR on last edited by
    #29

    @SANTOSH-KUMAR

    Yes. Replace server_name and proxy_pass with what I gave you above. Then carry on the steps.

    SANTO007S 1 Reply Last reply
    0
  • SANTO007S Offline
    SANTO007S Offline
    SANTOSH KUMAR
    wrote on last edited by
    #30

    i have cloudflare ssl can i use https://www.explorehowto.com

    A ? 2 Replies Last reply
    0
  • A Offline
    A Offline
    a_5mith
    replied to SANTOSH KUMAR on last edited by
    #31

    @SANTOSH-KUMAR Yes, but you'll want to be up and running without it first, https and cloudflare can bring it's own issues. So, one step at a time.

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to SANTOSH KUMAR on last edited by
    #32

    @SANTOSH-KUMAR, don't take on too much at once. Let's get you up and running at http://www.explorehowto.com before we start using SSL from Cloudflare

    1 Reply Last reply
    0
  • SANTO007S Offline
    SANTO007S Offline
    SANTOSH KUMAR
    wrote on last edited by
    #33

    Ok thanks to all the supporting team
    Especially @a_5mith @Ted
    Thanks YOU uuuuuuuuuuuuuuuuuu

    ? 1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to SANTOSH KUMAR on last edited by
    #34

    @SANTOSH-KUMAR, thank you - but it was really @julian and @a_5mith providing support. Feel free to reach out via chat once you're up and running if you need assistance. I'm usually around, even if I'm not on.

    1 Reply Last reply
    0
  • SANTO007S Offline
    SANTO007S Offline
    SANTOSH KUMAR
    replied to a_5mith on last edited by
    #35

    @a_5mith
    Pal i reached the last stage every thing setup
    Presntly i have setup domain on http://explorehowto.com:4567
    As you said above i have done all the steps.But a problem with the last step
    when i used server block like this
    server_name explorehowto.com;

    location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_set_header X-NginX-Proxy true;

    proxy_pass http://explorehowto.com:4567/;
    proxy_redirect off;
    
    # Socket.IO Support
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    

    }

    then using the following code
    sudo ln -s /etc/nginx/sites-available/explorehowto.com /etc/nginx/sites-enabled/
    sudo service nginx reload

    The result is

    root@server:~# cd /etc/nginx/sites-available/
    root@server:/etc/nginx/sites-available# sudo nano explorehowto.com
    root@server:/etc/nginx/sites-available# sudo ln -s /etc/nginx/sites-available/ex
    plorehowto.com /etc/nginx/sites-enabled/
    ln: failed to create symbolic link `/etc/nginx/sites-enabled/explorehowto.com':
    File exists
    root@server:/etc/nginx/sites-available# sudo service nginx reload

    • Reloading nginx configuration nginx [fail]
      root@server:/etc/nginx/sites-available#
    1 Reply Last reply
    0
  • SANTO007S Offline
    SANTO007S Offline
    SANTOSH KUMAR
    wrote on last edited by
    #36

    OK PROBLEM SOLVED

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development