Redirect Website to local webserver - php

Is it possible to redirect url browse from same network to local hosting and for other network provider to redirect to other hosting? if it is please guide me how it will done . is it done by programming using php or i need to configure server at cable net . actually i want make website for local internet service provider he want to share vdo and files over his website but problem is that he just want only user from his network can access those files other then that they can just view website but when they try to view video they get error that your are not from same network only user from abc network can view these files

Related

Unable to call a service of project from another computer

Created a project in xampp, created services using php, the services are working fine in local, Iam able to get the response and my computer is having static ip address. when im calling the service from another computer Im unable to get the response it is showing site cant be reached.
The System is having static ip address(http://27.xxx.xx.218/), i am calling the services from outside of the network.
You need to be in the same network to access the other computer. Then just put in the local ip address of the other computer to access the web page. If not on the same network then you need to connect the two networks have a look at link.

How to access a localhost subdomain?

I have a script which redirects the user to a mobile subdomain like m.localhost.com if he/she access the local site on a mobile phone or tablet. Everything works fine on my PC (The place where my local website is hosted and I'm using Apache 2.4 and PHP 5.5) but when I type my ip into my mobile browser for example, it redirects me to (m.192.168.1.102) and when I type localhost.com it doesn't shows me my local website even though the host and the mobile are connected to the same network. I don't want to edit every hosts file on every device, I just want to visit the subdomain on another device rather than my PC. I know it might be a stupid question but how does the hosts like 000webhost and Ifastnet and many others redirect their users to subdomains?
Thanks in advance

ERR_CONNECTION_REFUSED while accessing an image file on local network

I have 2 websites running in my IIS in one machine. One is the PHP website and another is the ASP.NET WebApi. The PHP site is my family website which is kind of an adapter between HTML and WebAPI. Now, in my PHP site I have a page which loads all family pictures from a selected folder on my home wifi network.
If I browse PHP site from the same machine where API is hosted then everything works great. But when I browse my PHP site from other machine in my home wifi network I see ERR_CONNECTION_REFUSED
As far as the permisssions are concerned I have IUSR full control over my image folder.
Any idea where I am missing the mark?
Your Internet is not working or the server is not set up to receive http request

Joomla Website not accessible using VPN

I have a Joomla site running on local intranet. It works perfectly if accessed via LAN. But if someone tries to access the same via VPN network then gives below error.
Access to the Web site is blocked by your administrator. Please notify your system administrator. Made http request for GET /index.php?option=com_content&view=category&id=634:blackberry-&Itemid=59&layout=default HTTP/1.1 to techiecloud:80
What could be the possible reason for the same, Is it application configuration issue or related to network.
That's a network error message rather than a Joomla one.
Try uploading any website there - Joomla or not - and I assume you will get the same message.

Navigating to various pages doesn't changing URL in Address Bar of Browser when running on server

My application running on amazon cloud server. when i navigate to various pages the URL remains my domain name . www.mydomain.com while when I navigate through ip binded for that domain it work fine, and when i am running the same application locally on XAMPP server then also it works fine.
I have binded my domain name with the ip of my server.
Can u guess the problem and describe the solution to me?
Due to this problem when user refreshes the page through browser by clicking on refresh button then always the home opens
Please check the configuration of your domain at your registrar.
Some registrars offer a "framing" or "web redirection" service in addition to a DNS service. The behavior you have described makes it sound like you're using one of those services instead of having correct DNS records.

Categories