plugin development – Sub domain redirecting to main domain in wordpress
I am using AWS hosting and have created a subdomain. I have added all the files but still, my subdomain is redirecting to the main domain.
I have tried the option below
I have checked the server configuration file which is perfectly redirecting.
I have updated siteurl and homeurl in database wp_option table
with my subdomain.
I have renamed my wp-content folder but it still redirects to the main domain.
.htaccess file deleted
I have removed WordPress files and added only index.php files then it’s not redirecting.
Any idea what the issue is? I am not able to open the admin panel.
what is the more option I have to try?