Put the oven rack in the middle position and preheat to 450 F (230 C).
Poke holes in the tomatoes with a toothpick to keep them from exploding in the oven.
Put the tomatoes, bell pepper, mild green chiles, hot green chiles, and garlic on a baking sheet and put them in the oven. Roast until everything is slightly charred on top.
Remove the stems and seeds along with some of the skin from the chiles and add to a blender or food processor along with the rest of the vegetables and any juices that have collected in the pan. Add the salt and blend until smooth. If your sauce is too thick, you can add a bit of water to thin it out.
Click the link in the ingredients for recipes to make sunny side up eggs and refried beans.
Fry both sides of each tortilla in some oil until crisp around the edges, but still soft in the center.
To assemble your Huevos Rancheros, spread a layer of refried beans on two plates. Top with 2 tortillas and then pour some ranchera sauce on top. Top with the eggs, some more ranchera sauce and then garnish with crumbled cotija cheese and cilantro.