ipad/iphone can't open my website - iphone

I have a website setup with IIS and Hostheader, the site won't open on iPhone/iPad with "server cannot be found"
for example:
the domain I want to show: www.example.com
the primary domain I have: www.myorigin.com
I configure the DNS on www.example.com to point to www.myorigin.com, then I also setup host header on myorigin.com: example.com to point to /www/root/example
example.com works on everything except iPhone/iPad. Sarfari shows "server cannot be found"
I don't know if I explain the issue correctly, but any direction pointing is much appreciated.

Related

How would I link a https server to a NameCheap domain while retaining the dns ip?

I have a http server that looks a little like https://1.1.1.1:8000/ however everything I've seen is saying to url redirect but when I do that it changes the dns ip to https://1.1.1.1:8000/ in the search bar and I would prefer to have the url alone. How would I do this?

Used cloud-flare on a site, but an error occurs (link wrong or retired)

I am trying to point the domain www.xxx.com to www.ttio.com/tc using cloudflare to enable to the https on the site.
On GoDaddy I have changed the nameservers to cloudflare's recommended name servers
I have also gone to "Page rules" on Cloudflare and added a forwarding rule so that the above is in place.
On going to www.xxx.com however, i get the following error:
It redirects to this url: https://shortener.secureserver.net/error_404
and the error is:
Destination
Unknown
Everything's working on our side, so the link you clicked is either wrong or has been retired.
I have done everything I think I should have, so could anyone shed any light on this please?
You can't point a domain (e.g. www.xxx.com) at an URL (e.g. www.ttio.com/tc). A domain needs to be converted to an IP address by the browser.
If the web server for www.ttio.com is set to recognise www.xxx.com and serve the content from the /tc folder under www.ttio.com, just set up a CNAME for www.xxx.com pointing www.ttio.com and it will work.
If the web server for www.ttio.com doesn't know about www.xxx.com at all, you'll need to use a translation proxy. One way of doing that is using a Cloudflare worker to map the www.xxx.com/PATH URL to www.ttio.com/tc/PATH. An example of how to do this is at https://developers.cloudflare.com/workers/tutorials/configure-your-cdn/. You may also need to rewrite the HTML so that links in the pages don't point to www.ttio.com/tc. An example of how to do that is at https://developers.cloudflare.com/workers/reference/apis/html-rewriter/.

Zpanel subdomains not working with www

Hello I have server with Centos 6.5 64bit Final i have noticed that my subdomains does not work properly for example if i create subdomain: example.domain.com everything is fine you can type that in your browser and it will work but if somebody will type www.example.domain.com it will fail to open instead of subdomain content that i have created it will open zpanelcp login page.
So my question is what i should do in order to get this working is it domain fault or is it server fault and i need something to fix in actual server?
to create a sub-domain on zPanel just follow this steps :
Login to ZPanel as user
Click "Sub Domains"
Enter sub-domain prefix and select the domain
Use create new home directory
Click "Create"
Now go to your domain dns manager not zPanel dns manager "ex : godaddy ..."
Under A (HOST) You will need to add new record for the prefix of your sub domain with your server ip address
Then click "Save Changes"
your dns resolution my take some time to reflect your changes
good luck.

Facebook login button disabled on localhost

I'm testing the sample Run with Friends Google App Engine Facebook app. When running on localhost:8888, clicking the login button brings up a new small window, which disappears almost instantly, and doesn't actually log in. How can I test logging into Facebook on localhost? I saw this question, but the accepted answer doesn't seem applicable to Google App Engine.
I'm using a local Nginx instance in front of dev server. Nginx really easy to configure for proxying reguest from domain like mylocalapp.dev to your app.
Configuration looks like:
server {
listen [::]:80; #it's for ipv6
#listen 80; #for ipv4
server_name mylocalapp.dev;
location / {
proxy_pass http://127.0.0.1:8080;
}
}
And also, don't use suffix like .local for domain, it doesn't work for FB too.

localhost test setup - Facebook not allowing localhost

Been trying to setup my Facebook app which I want to use for Logins to allow me to test it on my Mac's localhost. Facebook is throwing the error "App Domain: http://localhost is not a valid domain." when I try change App Domain of Site URL to localhost or 127.0.0.1
IS there any way to get the facebook login api to redirect the browser to my localhost after authentication?
The way I do it is alias the site I'm working on to something like: http://sitename.loc, and then setup an app used specifically for testing with that as the domain.
An example of how to do this can be found here:
https://stackoverflow.com/a/7493806/1056965
On your local machine you have to setup hosts file to point your site name on local ip address. For example if you have to setup authorization with fb on site example.com put this record in your hosts file
127.0.0.1 example.com
And just start your site localy and facebook oauth will redirect you on example.com and you will get valid token localy.
For setup hosts file on windows help is on this link Windows Hosts Setup
Linux help link Linux hosts
It's simple enough when you find out.
Open /etc/hosts (unix) or C:\WINDOWS\system32\drivers\etc\hosts.
If your domain is foo.com, then add this line:
127.0.0.1 local.foo.com
When you are testing, open local.foo.com in your browser and it should work.
Allready, explained here
How to Test Facebook Connect Locally