My main domain is example1.com and I have another addon domain example2.com
when I enter example2.com in the browser it shows the website but like this example1.com/example2.com
How to setup it in Cpanel to see the domain name in the address bar as example2.com
not as a folder of the main domain?
Follow the link below,
Access your files using the file manager, in that if you find the "addon domain" under " public_html/ " directory it will be fine, or else move your addon domain folder to public_html/ directory.
If you find this helpful, give me kudos!.