Burp Browser cannot work with a modified /etc/hosts entry


I am having an issue using burp or any proxy for that matter when an IP address requires me to make an entry into the /etc/hosts file. Whenever I modify the /etc/hosts/ file and I try to visit the website, Burp gives me a default Spectrum Router info page. I do not have this issue with my browser on my Kali. I can visit the domain in /etc/hosts but not on Burp Browser and through foxyproxy. I do not have this issue when boxes do not have a domain name and just goes straight to IP address.