If I change the URL on the main site, will it automatically change on the mobile one?

Common question
Working with blocks
Appearance
Payment
Teams
Statistics
Security
Affiliate program
Advanced settings
Layout
Interface

Yes, however you should change the URL in the custom blocks, for example - menu.