Use a function for static files and TYPO3 that can be called. That way I separate the actual domains for development from the definition.