The second domain redirects me to the first domain

#1
I installed Lightspeed and WordPress and the domain was linked they all worked fine and normally, but the problem happened when I added a second domain and installed WordPress on it the problem is that the second domain automatically directed me to the first domain what should I do now!
 

Unique_Eric

Administrator
Staff member
#2
It might be due to the second domain's WP site URL config, .htaccess redirect, or rewrite settings in the LSWS. Please check the response header and see which service redirects you.
 
#3
It sounds like you're encountering a situation where accessing the second domain redirects you to the first domain, which is unexpected behavior after setting up WordPress installations on both domains. Here are some steps you can take to troubleshoot and resolve this issue:

### 1. Check WordPress Settings

1. **Verify Site URL and Home URL**:
- Log in to the WordPress admin dashboard of the second domain.
- Go to **Settings > General**.
- Ensure that the "WordPress Address (URL)" and "Site Address (URL)" are correctly set to the second domain's URL (e.g., `http://seconddomain_com`).
 
Top