I will focus on the Vienna portion of your trip (but I will say that Salzburg is the most magical city with a castle and you can easily stay alongside the lovely lake Wolfgangsee in Sankt Gilgen for breathtaking views and an alpine slide as well as a mountain cable car).
As mentioned above, the University of Vienna is all over the city - different departments and schools are scattered. Alas, no campus life, no mascots or sports teams like in the US. It would be helpful to know which school/address. That said, and as also already mentioned, there is absolutely no need to be on top of the university location. You can get across Vienna in minutes with our efficient and cost effective (and easy to use) public transportation.
All of that said above, you want to try to stick to districts 1, 4, 6, 7, 8 or 9. These are compact, well located districts with great public transportation connections and good shopping/restaurants. Are you looking at a hotel or an AirBnb?
Once you have picked your accommodation, come back and let me know your choice and I can suggest restaurants, etc.
I know you didn't ask, but for activities (as the mom of a 15 year old), I love to rent motorboats from Marina Hofbauer at the Alte Donau station of the U1 subway line. I also think the Carriage Museum at Schonbrunn is underrated. My favorite museum in Vienna is the Wien Museum, which is very interactive and has English explanations - and it is free.