Question
Why my site is opening my other site?
I have an unsolved problem here. I want to open my site rekamedia.com, but its opening my other site dzulfriday.com
This is so frustrated.
This is my nginx config for rekamedia.com (i am just showing the listen and server name part)
server {
listen 80;
root /pathtomyroot;
index index.html index.htm index.php;
# Make site accessible from http://localhost/
server_name rekamedia.com;
rewrite ^(.*) http://www.rekamedia.com$1 permanent;
}
This is my nginx config for dzulfriday.com (i am just showing the listen and server name part)
server {
listen 80; ## listen for ipv4; this line is default and implied
root /pathtomyroot;
index index.html index.htm index.php;
# Make site accessible from http://localhost/
server_name dzulfriday.com www.dzulfriday.com;
}
Can someone help me? I don't know what could be the problem
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×