Test the rope bearing your weight. Put your foot in the noose and stand on it, pushing down to test weight bearing capacity of both the anchor point and the rope.
Once you know it can handle the weight, the main issue with outdoor hangings becomes privacy. Is the area visible by neighbours? Do you live with other people? These types of things.
My location I intend to hang myself is on some trails which have been closed off from the public for maintenance. You have to jump a fence with a no entry sign to get there. For added security I intend to do it at like 3 AM when no one would be walking through trails. I would wrap the noose around a large tree and then just do my thing.
For indoor I think the best is structural supports. If you have an unfinished basement or something like that with exposed beams in the ceiling that's probably a good option. I've seem people talk about pull-up bars too. Doorframes are structurally one of the strongest parts of a building, and pull-up bars are made to hold the weight of a reasonable person. This would most likely limit you to partial suspension though, unless you're very very short.