I have a domain name from godaddy (example... newdomain.com) and I am trying to mask the public IP address of my Django web application in my server. The settings for my newdomain.com in GoDaddy is "Forward with Masking."
The issue I am having is that every time I click the links in the web app the URL will always stay as newdomain.com. So for example in the webapp, I click a login button (which redirects to newdomain.com/login) the URL will always display as newdomain.com but the contents of newdomain.com/login will be displayed in the browser.
Please let me know if you have any clues on how to fix this, thanks in advance!
Related
I have a problem when I access to my url.
If I enter myurl.com on browser, it redirects to my digital ocean server and shows the contents correctly. However, the url on the browser is changed to ip address:port/index right away.
I'm not sure what to change to show up with correct url (myurl.com) on the browser so that the users cannot see my ip address directly.
Below are the pictures of current setting.
Thank you in advance.
DNS Records on digital ocean side
DNS setting on google domain
I've got a website that requires a login, this website shows a "portal" which makes it possible to go to deluge/plex/sonarr (webapps). these apps are connected to ports. so example.com:83031 = plex and example.com:83032 is sonarr (as an example).
Now if I go to example.com it prompts me a login and I if I then click on "plex", the portal goes to example.com:83031. this is correct. however, is there a way to disable a direct link to example.com:83031 (so is there a way to ONLY make it able to enter that site through portal?)
Long story short: I want example.com:83031 to ONLY be available through the portal, not if you enter it directly into the browser. is this possible?
[Editted the domains, got the point!]
In theory, a browser should send a "redirect" indicating from where you came. Hence, example.com:83031 could check if you came from example.com:80. This is however not reliable.
However, if you redirect to example.com:83031/loginOK?<GUID> then you have explicitly encoded the redirection information, in a way that no browser can strip.
BTW, don't invent non-existent domains. example.com exists for a reason.
Using reverse-proxy on Apache has fixed this issue.
Picture describing the outcome
I built a site to try out Telescope/meteor and deployed it with Heroku using a custom domain from Godaddy --->
ISSUE: When viewing the site iOS :
Good > responsive mobile version appears via the default Heroku url: unfair.herokuapp.com
Bad > mobile version does not appear via the custom url: www.un-fair.net (desktop 'full site' shows up)
I updated the 'ROOT_URL' in Heroku settings and switched it from the default URL to the custom URL but didn't fix the issue.
Any suggestions ?
Heroku support claims it is not an issue on their end.
It's definitely possible to do, as mine is displaying all right via my Godaddy custom domain.
When setting up my custom domain with my Telescope app on Heroku, I needed to change the DNS settings via Godaddy. You'll need to add (or update if it's already there) a CNAME record where "Host" is "www" so that "Points To" is "unfair.herokuapp.com".
How to find the DNS manager in Godaddy: https://www.godaddy.com/help/access-the-dns-manager-19182
The only reason I can think of is an issue with your redirection. For example, if you're redirecting via an iFrame instead of setting the DNS, the iFrame hosted by GoDaddy might not have the proper meta tags required to enable the responsive version on mobile.
I'm using this tutorial to setup simple OmniAuth authentication with Facebook for my Rails 4 app: http://sleekd.com/tutorials/setting-up-omniauth-authentication-with-facebook/.
The problem is that the tutorial is 3 years old and the organization of the Facebook App config site has changed significantly.
There no longer seems to be a "Site URL" box (where I would input http://localhost:3000). I also don't see "Site Domain" box (where I would input localhost).
In "Basic Settings" there is a box for "App Domains," but it won't accept localhost. Using localhost here results in the following error:
"This must be derived from Canvas URL, Secure Canvas URL, Unity Binary
URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL.
Check and correct the following domains: localhost"
Can anyone point me to where I should input these two bits of information with the most recent Facebook App config site?
You need to go into Settings on left sidebar, then + Add Platform. Choose Website and place
http://localhost:3000/
in Site Url field.
App Domains field can be blank.
What I want to have:
User enters 'gmail.com'.
A message in the web browser appears stating some like "You are accessing third party email service... and so on..".
User will be given option to proceed by clicking certain link
pointing to 'gmail.com'.
What I did: Use DNS forward A record forwarding to internal ip of server where message is stored.
What happens: Loop back to internal ip occurs when user clicks provided link when user wants to proceed to 'gmail.com'
Is there any other way possible to do this? other than DNS?
It is possible by using a proxy server such as squid. You can place a custom app/script to make certain checks on the source/client if he already have been redirected to such a "warning message page". You can for example append the original url to the end of your redirect url so you can easily place a link on the site.
http://wiki.squid-cache.org/Features/Redirectors
You could place code on the DNS server which keeps track of who has been redirected and who's free to go to the link. It'd need to have some kind of database and store MAC addresses of users who don't need to be redirected.