Magento site not getting launched from outside my LAN - magento

Secure and Unsecure base url has been set to http://xx.xx.xx.xx/magento/. Where xx.xx.xx.xx is my LAN IP. So ecommerce magento site works fine in my local machine with above mentioned URL.
and my LAN IP is NAT with global IP yy.yy.yy.yy.
When I launch my magento ecommerce site with global ip( http://yy.yy.yy.yy/magento/) , it route correctly to local ip url (http://xx.xx.xx.xx/magento/) but fails to launch with following error.
Oops! Google Chrome could not connect to xx.xx.xx.xx/magento/.
Please let me know the fix for this issue.
Note: Global ip is pinging withput any issue .
Also I tried to launch global url from outside my LAN Network.
I can also access just http://yy.yy.yy.yy (WAMP server info)

You need to do following steps:
Open phpmyadmin.
Open core_config_data table.
Change value for value column to http://yy.yy.yy.yy/magento/ where path = web/secure/base_url and path = web/secure/base_url.
I hope you are able to understand my point.

Related

how to access xampp server from internet using dynamic ip address

I have installed xampp server on my windows 7.
I am connecting internet using HUAWEI Dongle.
I don't have any static IP address.i Want to access my php file from internet example I have connected to internet now I have dynamic IP address like 100.101.73.240 if some one enter 100.101.73.240/home.php in his browser address bar then my home.php page should open in his browser.
What should I do for this give me step by step guide.
Local Ip can't work over the internet. It's your intranet network. If you have dynamic internet IP, then you simply configure the Dynamic DNS service. Which you can configure your Internet Router with the following settings (provided by the Dynamic DNS service providers).
dyn.com
noip.com
dynu.com
many more.
Thanks
If you want to share IP with someone from your local area network:
Go to cmd, run ipconfig command, and find your local IP, which should be like 192.168.xxx.yyy. You can easily share it with no worries it will change each time you reset your network.
If it's someone from external network:
You have no power to share your external IP if you have dynamic one, it will change too often, but still it should work for a short connection sessions. To obtain a stable address you would have to register a domain

Can't access web, only server default page is showing

I have just moved to a VPS server. I have uploaded my files to httpdcos/ but then when I access my website, it still shows the server default page.
How do I fix this?
My website is at 216.87.168.104 - the server runs Parallels Plesk.
It happens because apache doesn't serves your website on IP to which your domain name resolved.
Check IP of your domain:
nslookup <yourdomain.tld>
Check output of apachectl -S - make sure that domain name is served on resolved IP address

IIS https website can't enter

Update 4/12:
I'm using Vigor 2910 (router) to connect to my server. I found out that I cloud view the website correctly by external ip from other PC. But everytime I try to login the browser redirects me to internal ip. Is there any settings I should know besides port forwarding 80 and 443 from external ip to internal ip?
I found a way to fix the problem.
My problem is, when I use another PC connected to different router trying to connect to the PHP site with external IP, it always redirect me to internal IP address.
For example:
Entering site https://140.XXX.XX.XXX
After clicking any objects on the site, then I was redirect to https://192.XXX.X.XXX
Cause I'm connected to the router that I didn't notice it not only affects my PC but also in PHP config.php. In config.php, the redirecting address is written in internal IP instead of external IP.
Just simply change the IP to external IP, then it works.

"Facebook Store" Extension for magento is not connecting to localserver?

I have installed a magento extension to connect my magento store to facebook store. I want to test the functionality in localhost before I set it in live server. This is the extension I have installed in local.
http://connect20.magentocommerce.com/community/fbshops
This is the error I am facing with the facebook extension.
Error! You are using local host, or your IP is not accessible from outside, please contact your hosting provider.
Is there any way available to test this facebook module in localserver ?
I am using magento 1.7.
You will need to make your IP accessible to the outside world, this you can do if you have a static IP. You will need to forward all the request to your IP by port forwarding it to the web server.
And you will have to use your External IP Address instead of localhost in magento to check this. You can get your external ip address from here.

How to find database host url in joomla

i have a website with Joomla 2.5.4, in the configuration file the DB host is coded as localhost. i know the DB name, username, password to access. But not the URL to access the Host. is that Possible to get the information without logging in to C PANEL etc..
in some situations my client fails to give me the url to access DB, if iopen the configuration file, there it says LOCALHOST.
Is there any other way to find out?
If the configuration.php has localhost then it should be the same as the website/the ip address of the website. Remember 'localhost' is just a synonym for the current computer.
I'm not sure why you would want the URL though.
If you're writing a software extension for Joomla! you don't need the database details you can just get the database object from the framework, eg. $db = JFactory::getDBO();
If you writing a PHP script external to Joomla! you can just use localhost in your connection code e.g..
$mysqli_connection = new MySQLi('localhost', 'user', 'pass', 'db');
To check for errors in the connection you would the check the value in $mysqli_connection->[connect_error][2]
If you want to do a remote connection then the websites address will generally do if the configuration states localhost (obviously if it doesn't have local host or an equivalent then the value will be the database servers address), but you will also need to setup the remote access through cPanel.
I'm afaid you cannot find this information in other way than through your webhost, at least not to my knowledge.
localhost is the most usual way, but there are most likely other host adresses like: mysql.yourhost.com or by ip: 123.456.456.7
I also faced same problem. I left the host name as 'localhost' when the files are in the file server. Then it works fine for me. If its not working fine for you,just put your domain name instead of localhost (or) otherwise file hosting service provider needs to provide the details of host name when you signup.

Resources