Jump to content

Trying to have another website with the same content.


Recommended Posts

Hello everyone.
So i have this one website name "abc.com" and now i want another website with the name "ny.abc.com" with the same content

I use a host on the "abc.com" domain. Now i hire a server and i want to use it on "ny.abc.com" and i copy the file and upload it to the new server and change things in the database. And i point the "ny" to the "abc.com" according to the supporter on the server told me. But it does not work, whenever i write ny.abc.com it goes to abc.com. 


What should i do. thank you very much
 

Link to comment
Share on other sites

9 minutes ago, ComGrafPL said:

Create new DB on ny. Export table from abc.com and use the import on ny.abc.com. Then change the details on parameters.php

I did all of that. But it did not work.
So i asked the supporter on my server.He told me to point the domain to the ip vps. something like ny A myip.
I did that also.But then when i type ny.abc.com it keeps going to abc.com while i want it to be ny.abc.com.
I asked the supporter again he told me i have to adjust the domain name in the source code which i have no idea where it is or how should i change it

Link to comment
Share on other sites

15 minutes ago, caffe663 said:

I did all of that. But it did not work.
So i asked the supporter on my server.He told me to point the domain to the ip vps. something like ny A myip.
I did that also.But then when i type ny.abc.com it keeps going to abc.com while i want it to be ny.abc.com.
I asked the supporter again he told me i have to adjust the domain name in the source code which i have no idea where it is or how should i change it

Did you change setting in file parameters.php on ny.abc.com?

Link to comment
Share on other sites

2 minutes ago, ComGrafPL said:

Did you change setting in file parameters.php on ny.abc.com?

Yes i did. the database name user password. I did it right. I just dont know why it does not work. Maybe because i did not own the domain ny.abc.com. But the supporter told me i need to change the domain in the source code.

Link to comment
Share on other sites

On 5/7/2022 at 9:26 PM, ndiaga said:

It  is   because   you  have   a  table  called   ps_shop_url   and   it  can  contain  only  one  entry   :   abc.com   

You  need   advanced    code  adaptation  in  ny.abc.com    to  avoid  the  redirection  to   abc.com .

It  is  not  that  simple.

Thank you for replying but when i do that it also did not work

Link to comment
Share on other sites

On 5/8/2022 at 12:44 AM, Nickz said:

Your database has your old shop url just as the webgency told yer.

I changed the ps url in the database to ny.abc.com too but it did not work as well. Maybe i should change something in the ht.access but i dont know what should i change

Link to comment
Share on other sites

25 minutes ago, caffe663 said:

When i change the url in the direct admin into ny.abc.com. The website wont load and it keeps saying redirected too many times.
Where did i do wrong. Please help me, thank you very much.

Do no include https prefix, that is normal cause of to many redirects.  Screen shots are helpful 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...