Unable to access magento site from anywhere but localhost - magento

I have two applications "myapp" and "magento" on my localhost at 192.168.1.110/myapps (A) and 192.168.1.110/magento (B). (A) is an app that I wrote and can be accessed by any computer on our LAN. However, (B) cannot be accessed by anyone except on my computer, localhost.
I haven't done any special port-opening or blocking on Apache or Magento, so I'm puzzled by this. Does anybody have any insight on what might be wrong and where I should look? TIA!
EDIT: in Internet Explorer, the error is just a generic message that says "cannot display this webpage" as if it cannot even recognize the address.
EDIT 2: I tried Firebug as suggested. This is what I'm seeing under the Net tab.
"GET Magento" under URL and "ABORTED" under status. When I hover over with mouse cursor, however, it displays http://127.0.0.1/magento, which is the localhost address.. Is this being http://192.168.1.110/magento being rerouted to http://127.0.0.1/magento?

Check the base URL settings in Magento. It sounds like your base URL is set to http://127.0.0.1/magento. When you go to http://192.168.1.110/magento Magento will be called, but it will redirect to http://127.0.0.1/magento which does not work on the remote machine. You should change the base URL in Magento to http://192.168.1.110/magento.

Related

Setup Site in IIS cant be Displayed in Browser

I setup a new Site in the IIS8. I've gone trough the setup wizard and placed the Files on the Path i referenced in the Wizard.
Even though when i want to access it in the Browser with the Hostname i entered it says that the page cant be displayed.
It's all local so i dont need to access it from another location.
Any clues what i might have forgotten?
I already checked here to look if i forgot something but i didnt see anything
I forgot to make an entry in the hosts file.
Because of that i wasn't reachable.
Make the entry and it works fine.

Wordpress Issues Regarding IP and Domain Name - Host Gator

I am hoping somebody can help me because I am on the verge of frustration tears.
The company I work for has a site hosted on godaddy and has to remain up until I complete the rebuild on hostgator, using the Wordpress theme, Grand Restaurant http://themes.themegoods2.com/?theme=GrandRestaurant
To get around the domain name issue since I cannot change nameservers yet, I had to use the Google Chrome plugin, Virtual Hosts, which has me input the IP and domain, to force access to the site.
Everything was working fine until I needed to use the "content builder." If you look at the Grand Restaurant theme, you can click on Menu. I need to use the "Menu Grid" option in the content builder but it does not work. Whenever I try to add the menu grid, it appears that it is trying to load (showing the gif loading image) yet in never actually loads. I have spent several days and hours going back and forth with host gator and the theme developer.
The theme developer says that the content builder does not work because:
"The WordPress URL and Site URL are set to the domain name. When you are logged in, you are being redirected to the IP, so the browser sees 2 different sites and some functionality ex. AJAX call doesn't allow you to get data from different URLs.
Your WordPress URL and Site URL settings are different from your actual site. You have to change your Domain Name URL and Site URL settings to the IP number."
I did what he said earlier today and it completely broke the site. Spent nearly 2 hours with host gator's tech support to get it back up. All tech support will tell me in regards to the content builder not working is that I need to change the AJAX file to allow the site URL and wordpress URL to be different. I have no idea how to do that!
Any wisdom you all could provide would be greatly appreciated. I have 1700 bakery items that I need upload by the end of July and I do not know what I am going to do if I cannot get the content builder working.
In order for this to work properly you should be using a method of back up and restore. By migrating from one hosting provider to another you could simply deploy the new Wordpress on host gator as a new site and import the Wordpress backup to the host gator with the many different plugins available through Wordpress. The way your trying to complete this is impossible and usually will only work with images and back ups being managed on virtual machines, and VPS. It won't hurt anything on the original up and running site. You mentioned that host gator was able to get the site back up? You shouldn't have to rebuild this if you use a back up and restore method. Everything should fall right into place, you can also test these methods through virtual box, and VMware virtualization products which offer trial versions. Try using a migration method and see if the conflicts still persist with the content builder.
Heres is what I would do if you cannot change the domain over but still use the domain for the dev environment.
Modify your hosts file and use hostgators IP and the company domain as the entry.
Install wordpress to the current company domain by simply entering the domain (Should go to hostgators server since you've added that entry in your hosts file)
With the hosts file modification, you should be able to view the wordpress site thats hosted with hostgator using the live domain name.
This way, when you're launching, theres no need to do any modification on wordpress. Simply change the DNS over, revert your hosts file and the site will swap over seamlessly.

Magento Front-end "404 Not Found 1"

Situation:
We have a domain name pointing to our old windows server. We purchased a linux server. I wish to build our new webstore on the Linux server. Once I am ready, I will redirect our domain name to the Linux server.
Up to now:
We have Magento installed on the back end. Now I need to have the front-end working
Problem:
I edited the url to be our domain name. I have edited my host file to have the domain name ignore the windows server ip and get directed to the linux server (the one with Magento installed). The page shows up with links and text in a big mess, and the title of the web page says "404 Not Found 1". I get this problem with both the back-end & the front-end.
Thinking:
I am able to access the PHPadmin and edit the url. I tried making the url the Linux server's IP. If I do that, Magento's back-end works but then I get a completely blank page for the front-end. Any suggestion is welcomed.
To make your site visible:
1) Change the links web/unsecure/base_url and web/secure/base_url of the table core_config_data to http://www.yourdomain.com/ or whatever you have.
2) Go to app->etc->local.xml and change your database username,password, host to the right one.
3) if it is still not working go to var and media folders and change the permissions to 777 for all folders and subfolders.If it works you know it is permission problem.
Read this after that and make your decision magento permissions

How Do I Fix an Access Forbidden Issue

I am using PyroCMS to develop a site where I need to access some image files. When I click on the a link I get
"Access Forbidden -You don't have permission to access the requested object. It is either read-protected or not readable by the server."
Ok - so I'm on using windows on localhost, so I go to the top level folder for the images and change the security to allow all. Still no good. OK, so I try to access the images directly through the browser with the direct url. It lets me in and I see the image.
So what gives ?? Is there something inside Apache I need to change ?? Don't think so or else it would not let me in at all, right ?
Any ideas ?
Many thanks !!
and yes I will select a "best answer"

PHP - 127.0.0.1 not working but localhost does

I am using Aptana 3.22 with XAMPP. When I run a PHP file, the url shows as http://127.0.0.1:8020/somefile.php and the PHP code is just listed in the browser. However, if I replace 127.0.0.1:8020 with localhost it all works just fine.
I think that to vague to be able to get a good answer, in that there's too many variables that could affect it, I'd hazard a guess that localhost doesn't really point to localhost:8020 but rather just localhost:80 (the standard), so you might be seeing a different site.
Go to run configurations select Web Browser then choose which browser you want to use. Then in the main tab find use base URL and click on it. Enter http://localhost/ and make sure that you check the append project name.
Make sure that your index page's name is index.php and try running it. Hope this helps.

Resources