cancel
Showing results for 
Search instead for 
Did you mean: 

How can I expose Magento2.2.4 on static ip address with Apache2 and Centos 6?

SOLVED

How can I expose Magento2.2.4 on static ip address with Apache2 and Centos 6?

Actually when I digit my static ip adress remotely ( http://11.11.11.11:80 ) Magento rewrite it in htttp://localhost:80. Is there a configuration to unchange the static ip address like http://11.11.11.11:80/products....

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How can I expose Magento2.2.4 on static ip address with Apache2 and Centos 6?

You can just change your path from database.

Login with database,

go to core_config_data table,

 

web/unsecure/base_url set http://11.11.11.11/

web/secure/base_url set http://11.11.11.11/

Clear Cache and check again. 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

View solution in original post

1 REPLY 1

Re: How can I expose Magento2.2.4 on static ip address with Apache2 and Centos 6?

You can just change your path from database.

Login with database,

go to core_config_data table,

 

web/unsecure/base_url set http://11.11.11.11/

web/secure/base_url set http://11.11.11.11/

Clear Cache and check again. 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial