Nginx Multiple Domains Unicorn Meta Zoo #1: Why another podcast? Announcing...
What happened to Viserion in Season 7?
What's the difference between using dependency injection with a container and using a service locator?
When I export an AI 300x60 art board it saves with bigger dimensions
Why did Israel vote against lifting the American embargo on Cuba?
What helicopter has the most rotor blades?
Will I be more secure with my own router behind my ISP's router?
Raising a bilingual kid. When should we introduce the majority language?
Arriving in Atlanta (after US Preclearance in Dublin). Will I go through TSA security in Atlanta to transfer to a connecting flight?
Coin Game with infinite paradox
Retract an already submitted Recommendation Letter (written for an undergrad student)
Could a cockatrice have parasitic embryos?
What's parked in Mil Moscow helicopter plant?
Was there ever a LEGO store in Miami International Airport?
Like totally amazing interchangeable sister outfit accessory swapping or whatever
Is there a way to fake a method response using Mock or Stubs?
What is the definining line between a helicopter and a drone a person can ride in?
`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY
Is there a possibility to generate a list dynamically in Latex?
Why is water being consumed when my shutoff valve is closed?
Preserving file and folder permissions with rsync
Does Prince Arnaud cause someone holding the Princess to lose?
France's Public Holidays' Puzzle
Where can I find how to tex symbols for different fonts?
Is it OK if I do not take the receipt in Germany?
Nginx Multiple Domains
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!How do I get PHP 5.3.3 working with Nginx on CentOS 5.5?Blank Page: wordpress on nginx+php-fpmNginx gives 504 Gateway Time-out once moved to liveNginx subversion commit failurenginx php5-fpm path_info urls and root locationNGINX don't parse .php5 as .phpLaravel 4.1 on nginx routes error 404CodeIgniter nginx rewrite rules for i8ln URL'sHow to configure nginx to serve one site from two different document root and using different php depending on URLlimit_req_zone for the whole PHP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server.
Has anyone come across this before, care to share?
File: nginx.conf ###
user www-data www-data;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay off;
keepalive_timeout 5;
gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
include /usr/local/nginx/sites-enabled/*;
}
File: ../sites-enabled/domain1.co.uk
server {
listen 80;
server_name www.domain1.co.uk;
rewrite ^/(.*) http://domain1.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain1.co.uk;
access_log /home/me/public_html/domain1.co.uk/log/access.log;
error_log /home/me/public_html/domain1.co.uk/log/error.log;
location / {
root /home/me/public_html/domain1.co.uk/public/;
index index.php index.html;
# WordPress supercache & permalinks.
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ .php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain1.co.uk/public/$fastcgi_script_name;
}
}
File: ../sites-enabled/domain2.co.uk
server {
listen 80;
server_name www.domain2.co.uk;
rewrite ^/(.*) http://domain2.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain2.co.uk;
access_log /home/me/public_html/domain2.co.uk/log/access.log;
error_log /home/me/public_html/domain2.co.uk/log/error.log;
location /
{
root /home/me/public_html/domain2.co.uk/public/;
index index.php index.html;
# Basic version of WordPress parameters, supporting nice permalinks.
# include /usr/local/nginx/conf/wordpress_params.regular;
# Advanced version of WordPress parameters supporting nice permalinks and WP Super Cache plugin
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain2/public/$fastcgi_script_name;
}
}
nginx virtualhost redirect hostname
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 3 more comments
I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server.
Has anyone come across this before, care to share?
File: nginx.conf ###
user www-data www-data;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay off;
keepalive_timeout 5;
gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
include /usr/local/nginx/sites-enabled/*;
}
File: ../sites-enabled/domain1.co.uk
server {
listen 80;
server_name www.domain1.co.uk;
rewrite ^/(.*) http://domain1.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain1.co.uk;
access_log /home/me/public_html/domain1.co.uk/log/access.log;
error_log /home/me/public_html/domain1.co.uk/log/error.log;
location / {
root /home/me/public_html/domain1.co.uk/public/;
index index.php index.html;
# WordPress supercache & permalinks.
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ .php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain1.co.uk/public/$fastcgi_script_name;
}
}
File: ../sites-enabled/domain2.co.uk
server {
listen 80;
server_name www.domain2.co.uk;
rewrite ^/(.*) http://domain2.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain2.co.uk;
access_log /home/me/public_html/domain2.co.uk/log/access.log;
error_log /home/me/public_html/domain2.co.uk/log/error.log;
location /
{
root /home/me/public_html/domain2.co.uk/public/;
index index.php index.html;
# Basic version of WordPress parameters, supporting nice permalinks.
# include /usr/local/nginx/conf/wordpress_params.regular;
# Advanced version of WordPress parameters supporting nice permalinks and WP Super Cache plugin
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain2/public/$fastcgi_script_name;
}
}
nginx virtualhost redirect hostname
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
4
Define "redirects". Do you get an actual redirect where the address in the bar changes, or does it just load the wrong content? Posting your config, removing sensitive chunks, would help.
– Shane Madden♦
Apr 28 '11 at 2:53
It's hard to say anything without looking at the Nginx config
– Alexander Azarov
Apr 28 '11 at 8:18
Yes the address bar actually changes. From domain2.co.uk to domain1.co.uk
– showFocus
Apr 28 '11 at 11:55
3
Your posted config does not do this. Most likely when you removed information about the domain you fixed the actual problem.
– Martin Fjordvald
Apr 28 '11 at 12:23
So I should double check the domain names in my config files and make sure they are correct?
– showFocus
Apr 28 '11 at 12:35
|
show 3 more comments
I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server.
Has anyone come across this before, care to share?
File: nginx.conf ###
user www-data www-data;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay off;
keepalive_timeout 5;
gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
include /usr/local/nginx/sites-enabled/*;
}
File: ../sites-enabled/domain1.co.uk
server {
listen 80;
server_name www.domain1.co.uk;
rewrite ^/(.*) http://domain1.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain1.co.uk;
access_log /home/me/public_html/domain1.co.uk/log/access.log;
error_log /home/me/public_html/domain1.co.uk/log/error.log;
location / {
root /home/me/public_html/domain1.co.uk/public/;
index index.php index.html;
# WordPress supercache & permalinks.
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ .php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain1.co.uk/public/$fastcgi_script_name;
}
}
File: ../sites-enabled/domain2.co.uk
server {
listen 80;
server_name www.domain2.co.uk;
rewrite ^/(.*) http://domain2.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain2.co.uk;
access_log /home/me/public_html/domain2.co.uk/log/access.log;
error_log /home/me/public_html/domain2.co.uk/log/error.log;
location /
{
root /home/me/public_html/domain2.co.uk/public/;
index index.php index.html;
# Basic version of WordPress parameters, supporting nice permalinks.
# include /usr/local/nginx/conf/wordpress_params.regular;
# Advanced version of WordPress parameters supporting nice permalinks and WP Super Cache plugin
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain2/public/$fastcgi_script_name;
}
}
nginx virtualhost redirect hostname
I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server.
Has anyone come across this before, care to share?
File: nginx.conf ###
user www-data www-data;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay off;
keepalive_timeout 5;
gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
include /usr/local/nginx/sites-enabled/*;
}
File: ../sites-enabled/domain1.co.uk
server {
listen 80;
server_name www.domain1.co.uk;
rewrite ^/(.*) http://domain1.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain1.co.uk;
access_log /home/me/public_html/domain1.co.uk/log/access.log;
error_log /home/me/public_html/domain1.co.uk/log/error.log;
location / {
root /home/me/public_html/domain1.co.uk/public/;
index index.php index.html;
# WordPress supercache & permalinks.
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ .php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain1.co.uk/public/$fastcgi_script_name;
}
}
File: ../sites-enabled/domain2.co.uk
server {
listen 80;
server_name www.domain2.co.uk;
rewrite ^/(.*) http://domain2.co.uk/$1 permanent;
}
server {
listen 80;
server_name domain2.co.uk;
access_log /home/me/public_html/domain2.co.uk/log/access.log;
error_log /home/me/public_html/domain2.co.uk/log/error.log;
location /
{
root /home/me/public_html/domain2.co.uk/public/;
index index.php index.html;
# Basic version of WordPress parameters, supporting nice permalinks.
# include /usr/local/nginx/conf/wordpress_params.regular;
# Advanced version of WordPress parameters supporting nice permalinks and WP Super Cache plugin
include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/me/public_html/domain2/public/$fastcgi_script_name;
}
}
nginx virtualhost redirect hostname
nginx virtualhost redirect hostname
edited Apr 28 '11 at 17:10
showFocus
asked Apr 28 '11 at 2:20
showFocusshowFocus
13114
13114
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
4
Define "redirects". Do you get an actual redirect where the address in the bar changes, or does it just load the wrong content? Posting your config, removing sensitive chunks, would help.
– Shane Madden♦
Apr 28 '11 at 2:53
It's hard to say anything without looking at the Nginx config
– Alexander Azarov
Apr 28 '11 at 8:18
Yes the address bar actually changes. From domain2.co.uk to domain1.co.uk
– showFocus
Apr 28 '11 at 11:55
3
Your posted config does not do this. Most likely when you removed information about the domain you fixed the actual problem.
– Martin Fjordvald
Apr 28 '11 at 12:23
So I should double check the domain names in my config files and make sure they are correct?
– showFocus
Apr 28 '11 at 12:35
|
show 3 more comments
4
Define "redirects". Do you get an actual redirect where the address in the bar changes, or does it just load the wrong content? Posting your config, removing sensitive chunks, would help.
– Shane Madden♦
Apr 28 '11 at 2:53
It's hard to say anything without looking at the Nginx config
– Alexander Azarov
Apr 28 '11 at 8:18
Yes the address bar actually changes. From domain2.co.uk to domain1.co.uk
– showFocus
Apr 28 '11 at 11:55
3
Your posted config does not do this. Most likely when you removed information about the domain you fixed the actual problem.
– Martin Fjordvald
Apr 28 '11 at 12:23
So I should double check the domain names in my config files and make sure they are correct?
– showFocus
Apr 28 '11 at 12:35
4
4
Define "redirects". Do you get an actual redirect where the address in the bar changes, or does it just load the wrong content? Posting your config, removing sensitive chunks, would help.
– Shane Madden♦
Apr 28 '11 at 2:53
Define "redirects". Do you get an actual redirect where the address in the bar changes, or does it just load the wrong content? Posting your config, removing sensitive chunks, would help.
– Shane Madden♦
Apr 28 '11 at 2:53
It's hard to say anything without looking at the Nginx config
– Alexander Azarov
Apr 28 '11 at 8:18
It's hard to say anything without looking at the Nginx config
– Alexander Azarov
Apr 28 '11 at 8:18
Yes the address bar actually changes. From domain2.co.uk to domain1.co.uk
– showFocus
Apr 28 '11 at 11:55
Yes the address bar actually changes. From domain2.co.uk to domain1.co.uk
– showFocus
Apr 28 '11 at 11:55
3
3
Your posted config does not do this. Most likely when you removed information about the domain you fixed the actual problem.
– Martin Fjordvald
Apr 28 '11 at 12:23
Your posted config does not do this. Most likely when you removed information about the domain you fixed the actual problem.
– Martin Fjordvald
Apr 28 '11 at 12:23
So I should double check the domain names in my config files and make sure they are correct?
– showFocus
Apr 28 '11 at 12:35
So I should double check the domain names in my config files and make sure they are correct?
– showFocus
Apr 28 '11 at 12:35
|
show 3 more comments
2 Answers
2
active
oldest
votes
Try removing extra slash from fastcgi_param SCRIPT_FILENAME, so the line would be:
/home/me/public_html/domain2/public$fastcgi_script_name;
add a comment |
I put an index.php page in my directory and accessed it through the browser. No redirect occurred. So it seems if nginx does not find what it is looking for it redirects to another domain.
4
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f264158%2fnginx-multiple-domains%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try removing extra slash from fastcgi_param SCRIPT_FILENAME, so the line would be:
/home/me/public_html/domain2/public$fastcgi_script_name;
add a comment |
Try removing extra slash from fastcgi_param SCRIPT_FILENAME, so the line would be:
/home/me/public_html/domain2/public$fastcgi_script_name;
add a comment |
Try removing extra slash from fastcgi_param SCRIPT_FILENAME, so the line would be:
/home/me/public_html/domain2/public$fastcgi_script_name;
Try removing extra slash from fastcgi_param SCRIPT_FILENAME, so the line would be:
/home/me/public_html/domain2/public$fastcgi_script_name;
answered Nov 13 '13 at 14:16
Andrei MikhaltsovAndrei Mikhaltsov
2,34411729
2,34411729
add a comment |
add a comment |
I put an index.php page in my directory and accessed it through the browser. No redirect occurred. So it seems if nginx does not find what it is looking for it redirects to another domain.
4
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
add a comment |
I put an index.php page in my directory and accessed it through the browser. No redirect occurred. So it seems if nginx does not find what it is looking for it redirects to another domain.
4
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
add a comment |
I put an index.php page in my directory and accessed it through the browser. No redirect occurred. So it seems if nginx does not find what it is looking for it redirects to another domain.
I put an index.php page in my directory and accessed it through the browser. No redirect occurred. So it seems if nginx does not find what it is looking for it redirects to another domain.
answered Apr 28 '11 at 17:42
showFocusshowFocus
13114
13114
4
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
add a comment |
4
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
4
4
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
Have you looked at the Nginx logs to verify that that's really what's happening? There's nothing in your posted configuration to tell Nginx to redirect any requests. If it doesn't find what it is looking for, it should return a 404.
– pjmorse
Apr 29 '11 at 16:15
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f264158%2fnginx-multiple-domains%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
Define "redirects". Do you get an actual redirect where the address in the bar changes, or does it just load the wrong content? Posting your config, removing sensitive chunks, would help.
– Shane Madden♦
Apr 28 '11 at 2:53
It's hard to say anything without looking at the Nginx config
– Alexander Azarov
Apr 28 '11 at 8:18
Yes the address bar actually changes. From domain2.co.uk to domain1.co.uk
– showFocus
Apr 28 '11 at 11:55
3
Your posted config does not do this. Most likely when you removed information about the domain you fixed the actual problem.
– Martin Fjordvald
Apr 28 '11 at 12:23
So I should double check the domain names in my config files and make sure they are correct?
– showFocus
Apr 28 '11 at 12:35