New and Old website different hosts

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
himynameisfrank
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue May 15, 2018 8:53 pm

New and Old website different hosts

Post by himynameisfrank » Tue May 15, 2018 9:05 pm

Hi,

I hope someone can help me out with the following problem:

I have an old joomla website at hostA (and previously at domain.com)
I created a new website at hostB and linked domain.com to the new website, this works.

I want to link the old website (at hostA) to the subdomain old.domain.com and have filled in the ip address of hostA
However, when I go to the ip address of the old host (or old.domain.com) I see "Apache is functioning normally".
When i go to ipaddress/~user I see my old website.

I've tried changing paths, but nothing worked so far.


Frank

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17442
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: New and Old website different hosts

Post by toivo » Tue May 15, 2018 9:40 pm

Using just the IP address takes the browser to the default site, the first virtual host in the sequence. This is standard behaviour.

You need to ask hostA to redirect the requests for old.domain.com to the virtual host serving your domain, which in practice means changing the ServerName in the virtual host definition from domain.com to old.domain.com.
Toivo Talikka, Global Moderator


Locked

Return to “General Questions/New to Joomla! 2.5”