Online college vs. Brick-and-mortar college

My flagship does have an online alternative, but it is still sooo pricey. I wouldn’t have to do dorms, but it would still be very expensive.
And if I’m doing online, shouldn’t I just do one of the UK programs where I won’t have to waste time/money on generals??
If I did the flagship online, would it give me a better chance at crafting relationships with my professors who could give me recs for grad School?
I really appreciate you following up with this. It means a lot to me.