Giter VIP home page Giter VIP logo

Comments (4)

jdoss avatar jdoss commented on August 25, 2024

Changing the domain name would be a pretty manual process that you would have to do via SSH. It might be easier for you to launch a new Forem with the right domain name and delete the older one if you do not care about the content within the current one that you have.

That being said here is where you would have to edit the domain name on the current server and the services you would need to restart. My test domain name is qemu.forem.com and you would need to change the domain name in these two files as the root user:

[root@qemu (qemu.forem.com) forem]# fgrep qemu.forem.com * -R
configs/traefik/dynamic.toml:    rule = "Host(`qemu.forem.com`) && Method(`GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`)"
envs/rails.env:APP_DOMAIN=qemu.forem.com

and run:

# systemctl restart forem.service
# systemctl restart forem-traefik.service

and that should handle the server side configuration settings that handle the domain name. You need to make sure your DNS is pointed at this server and it resolves correctly before you restart forem-traefik.service.

I haven't test this, so your millage may vary. Please report your results.

from selfhost.

MuruganDurai avatar MuruganDurai commented on August 25, 2024

@jdoss Thanks a ton. SSH without having the .pem key is crucial here. Any idea where to find this?

from selfhost.

jdoss avatar jdoss commented on August 25, 2024

There is no pem generated via AWS. We set https://github.com/forem/selfhost/blob/main/inventory/example/setup.yml#L5 which reads ~/.ssh/id_rsa.pub for the AWS playbook.

from selfhost.

jdoss avatar jdoss commented on August 25, 2024

@MuruganDurai I am going to close this issue out. If you have any other usage questions or issues, feel free to post them on our community site https://forem.dev

from selfhost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.