D
D
DotDash2015-12-26 00:22:32
Database administration
DotDash, 2015-12-26 00:22:32

How to solve the problem with pictures when moving from vps to hosting?

After moving the site from vps to shared hosting, pictures are not displayed, because the paths to them were registered through the ip-address and when changing to a new address, the pictures are not available.
Changing the ip to the site name (domain) does not help.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DotDash, 2016-11-02
@DotDash

solved the problem by adding a dedicated ip

S
Sanes, 2015-12-26
@Sanes

Replace IP with a domain or make sure that your site opens by IP

Z
zooks, 2015-12-26
@zooks

That's why you need to use absolute paths without the domain name or its ip address.
In general, such a downgrade is incomprehensible, now VPS are very cheap.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question