Help - can't access my staging web site
Hello
A while back I wrote in seeking advice re: losing my access to a staging web site - Camelot kindly wrote the following, which I did but it didn't work...
"Provided you're an admin on your system the easiest way is to open /Applications/Utilities/Terminal.app and run the command:
sudo echo "11.11.111.111 www.ekekekek.com" >> /etc/hosts
exactly as written (changing the IP address if you need to). This command uses sudo to elevate your privileges. You'll be asked to authenticate by typing in your password (which won't be visible), then it'll run the 'echo' command which simply prints whatever's within the quotes and appends it to the file /etc/hosts. "
Very helpful, but it didn't give me access to my staging site...last week my mac G5 crashed and had a kernel panic - spent about 1 1/2 days on the phone with half a dozen Apple techs trying to fix - it's fixed but now for whatever reason I can't access my Staging web site through any browser, though our live site is OK from any browser.
So what can I do to again have access to the staging site? Are there more steps I should know in addition to Camelot's directions? What?
I'm not a techy at all but designer so the more specific, very much appreciated.
Thanks very much
Kent
OK so I figured out that I was supposed to go to
Terminal/file/New Command to type in Camelot's code -
which I did, got the password prompt, wrote it, it
accepted it and came back with this: (the IP and name
below, I've changed for this post only)
"12.12.121.271 www.mycertainname.com">>/etc/hosts
[Process completed]
Hmm. That looks a little odd to me. First off, did you include the "sudo echo" part at the beginning from Camelot's post? I'm also a little curious about the "[process completed]" part. Usually, I come straight back to the prompt.
But when I now go to type in my staging site's name
in the browser, I get another web site which has the
same name, still can't access this site of mine.
I don't give my staging sites the same names, so I'm not sure how that would work if it had the same name as another site. For example, if I have a domain called "mydomain.com," the real web server would be "www.mydomain.com" and my staging server would be
something like "staging.mydomain.com." That way, if I want to look at the real site, I type in one address. I type in the other if I want the staging server. You can't (easily) have the same text address (www.mydomain.com) resolve to different IP addresses. That requires some special DNS tricks that are beyond the abilities of the /etc/hosts file.
At this point, re-run this Terminal command and post the results:
<pre class="command">cat /etc/hosts</pre>Also, I can't figure out how to do this from the Network Utility, but you can check and see where your Mac is getting its lookup information by using another Terminal program called lookupd. You can also use it to flush the DNS cache, in case that's what's causing it to go to the other site. To flush the cache, type this in the Terminal at the prompt:
<pre class="command">sudo lookupd -flushcache</pre>You should just get the prompt back when it's done. There's no feedback.
To check where your Mac is getting its lookups, you use lookupd in an interactive mode. First, you type:
<pre class="command">lookupd -d</pre>At the prompt in the Terminal window. Then you'll get a few lines of text and a ">" prompt. Type "hostWithName", then a space and your host's name, so it looks like this:
<pre class="command">> hostWithName: www.apple.com</pre>When you hit the enter key, it'll do the lookup and give you a few lines information:
<pre class="command">Dictionary: "DNS: host www.apple.com.akadns.net"
lookup_DNSdomain: apple.com.akadns.net
lookup_DNSserver: 208.67.222.222
lookup_DNS_time_tolive: 58
lookup_DNStimestamp: 1167796142
lookupagent: DNSAgent
lookup_infosystem: DNS
interface: 4
ip_address: 17.112.152.32
name: www.apple.com.akadns.net www.apple.com
+ Category: host
+ Time to live: 43200
+ Age: 0 (expires in 43200 seconds)
+ Negative: No
+ Cache hits: 0
+ Retain count: 4</pre>Notice how it mentions DNS servers in several places, including "DNSAgent". That meant it used the DNS server at 208.67.222.222 to find the address for www.apple.com. Now, if I try it with a staging server (hosted on my iMac in this case), see what happens:
<pre class="command">> hostWithName: test.mydomain.com
Dictionary: "FF: host test.mydomain.com"
lookupagent: FFAgent
lookupvalidation: /etc/hosts 2 1166756640
ip_address: 127.0.0.1
name: test.mydomain.com
+ Category: host
+ Time to live: 43200
+ Age: 0 (expires in 43200 seconds)
+ Negative: No
+ Cache hits: 0
+ Retain count: 3</pre>Now, see how it says it looked it up using the FFAgent (Flat File), and even says it got it from /etc/hosts? If you're seeing anything except for FFAgent, then it's not looking in /etc/hosts for the info. There are ways to change the lookup order lookupd uses, but I'm pretty certain it was already set to use the flat files before DNS way before Panther.
To quit the lookupd program, just type "quit" at the prompt.
charlie
Similar Messages
-
I have an iMac-have used Firefox exclusively for years. I can't access a school web site-can't get past the log in with user ID and password. Screen stays at log in screen. Tried clearing history-tried uninstall and re-install. All other web sites/bookmarks work fine. Thanks in advance.
Try clearing the cache and deleting cookies for the site, this can sometimes resolve problems accessing sites that used to work. See [[how to clear the cache]] and [[deleting cookies]] for details.
-
Firefox can't access a specific web site. WHY?
"I have already posted that in 10.4 Forum but the problem is in Leopard"
At home and office I can't access a specific web site with Firefox.
I have tried everything I was able to: cleared cache, deleted cookies, deleted firefox prefs, flushed DNS, tried to log with IP instead of domain, created a new user account in Mac OS, repaired permissions, but nothing happens!
The strange thing is I can access the web site trough a proxy. And I don't have a firewall or similar, my Mac is conected directly to the web. And the problem is the same in any browser I use, like Safari or Firefox or Camino.
Anyone has any idea about what is causing my problem?
Just in case, the site is demonoid.com.
PS: Thanks BDAqua to all support on the other thread.demonoid.com
I feel like a dork. Maybe next time I'll read the post better.
Okay, I went to that site and it works fine for me.
Apple //GS -
Firefox can't access a specific web site
This problem is driving me crazy.
At home and office I can't access a specific web site.
I have tried everything I was able to: cleared cache, deleted cookies, deleted firefox prefs, flushed DNS, tried to log with IP instead of domain, created a new user account in Mac OS, repaired permissions, but nothing happens!
The strange thing is I can access the web site trough a proxy. And I don't have a firewall or similar, my Mac is conected directly to the web. And the problem is the same in any browser I use, like Safari or Firefox.
Anyone has any idea about what is causing my problem?
Just in case, the site is demonoid.com and it's running ok in other computers I tested.
Message was edited by: nikollasNo proxies, AV, firewalls or anything. The internet cable is pluged into this Mac.
The problem began 2 weeks ago. When I loaded the page the browser shows status done at the bottom of the window, and at the address bar I see the icon of the web site nd the address but nothing is shown. The source code for that page also is in blank.
I am now using firefox 3 and still have the problem. Safari is up to date with no enhancers. I uninstall all extensions from Firefox also.
Hard to believe, hum? -
I can't access to certain web sites
I can't access to several websites (www.isisparenting.com, www.etvnet.com), including my internet television. So, I'm wasting my money. Traceroute revealed that certain nods are unavailable and stop signal passing. This is weird because the idea of Internet is based on re-routing if such kind of things happens. I chatted to Verizon representative (chat ID# 12261042593) and was suprised to know that this issue is "out of their boundaries". Is this my Internet provider, I ask myself? Seems like charging money is done better by them.
I use MAC so neither firewall nor antivirus are installed that could potentially block some sites. I did basic things like restarting computer, router, trying different browsers. Nothing helped.
Very important that I also tryed to connect via AT&T 3G on my phone and successfully accessed those sites. So, this is obviously Verizon problem.
So, this is tracerouting info for etvnet.com:
traceroute to 74.86.94.186 (74.86.94.186), 64 hops max, 52 byte packets
1 wireless_broadband_router (192.168.1.1) 3.028 ms 3.974 ms 2.489 ms
2 l100.bstnma-vfttp-103.verizon-gni.net (98.118.61.1) 16.394 ms 8.833 ms 7.060 ms
3 g5-2-1703.bstnma-lcr-07.verizon-gni.net (130.81.109.74) 10.051 ms 7.190 ms 7.116 ms
4 so-0-3-0-0.bos-bb-rtr1.verizon-gni.net (130.81.29.252) 10.729 ms 8.852 ms 7.844 ms
5 0.so-0-2-0.xl3.bos4.alter.net (152.63.16.137) 20.736 ms 20.376 ms 20.804 ms
6 0.so-1-2-0.xl3.dfw7.alter.net (152.63.98.77) 66.983 ms 65.998 ms 65.041 ms
7 * * *
8 internapgige1-gw.customer.alter.net (65.208.15.230) 69.765 ms 66.508 ms 67.145 ms
9 border3.tge4-1-bbnet2.ext1.dal.pnap.net (216.52.191.83) 68.599 ms 72.176 ms 65.169 ms
10 * * *
11 po6.dar01.sr01.dal01.networklayer.com (173.192.18.211) 64.929 ms 64.686 ms 66.023 ms
12 po1.cer01.sr01.dal01.networklayer.com (66.228.118.200) 68.144 ms 68.105 ms 77.049 ms
13 npr01.dal01.networklayer.com (66.228.118.129) 68.632 ms 62.707 ms 62.528 ms
14 * * *
15 (66.228.119.3) 70.289 ms 70.432 ms 112.639 ms
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
Tracerouting to isisparenting.com:
traceroute to 75.126.95.50 (75.126.95.50), 64 hops max, 52 byte packets
1 wireless_broadband_router (192.168.1.1) 17.588 ms 11.954 ms 0.694 ms
2 l100.bstnma-vfttp-103.verizon-gni.net (98.118.61.1) 9.027 ms 19.264 ms 7.177 ms
3 g5-2-1703.bstnma-lcr-07.verizon-gni.net (130.81.109.74) 7.437 ms 6.740 ms 7.426 ms
4 so-0-3-0-0.bos-bb-rtr1.verizon-gni.net (130.81.29.252) 7.733 ms 10.791 ms 10.281 ms
5 0.so-0-2-0.xl3.bos4.alter.net (152.63.16.137) 20.547 ms 20.989 ms 16.719 ms
6 0.so-1-2-0.xl3.dfw7.alter.net (152.63.98.77) 65.444 ms 65.938 ms 67.576 ms
7 tengige0-6-4-0.gw4.dfw13.alter.net (152.63.101.21) 65.436 ms
tengige0-6-1-0.gw4.dfw13.alter.net (152.63.101.13) 62.453 ms
tengige0-6-4-0.gw4.dfw13.alter.net (152.63.101.21) 64.247 ms
8 internapgige1-gw.customer.alter.net (65.208.15.230) 69.588 ms 72.633 ms 65.417 ms
9 border3.tge4-1-bbnet2.ext1.dal.pnap.net (216.52.191.83) 71.218 ms 77.522 ms 68.992 ms
10 * * *
11 po6.dar01.sr01.dal01.networklayer.com (173.192.18.211) 65.208 ms 65.246 ms 143.976 ms
12 po1.fcr01.sr01.dal01.networklayer.com (66.228.118.154) 68.606 ms 90.912 ms 69.501 ms
13 * * *
14 * * *
15 * * *
16 * * *
Pinging 66.228.118.XX gives 100% packet loss.
Problem like this happens time to time (http://forums.verizon.com/t5/FiOS-Internet/Can-t-access-certain-websites-including-my-own-for-second... and how it is resolved is unclear.
I would appreciate if people share their opinion and experience. I would also like to hear some helpful suggestions from Verizon techs.
Thanks!
Solved!
Go to Solution.yeah they have a two to four hour lease time with their ip's. so without calling them and asking that they release the ip address, the 20 minutes would be too short timewise.,
-
OSX10.10.1 Yosemti Safari can NOT access US Charles Schwab web site.
Chrome could. Why????Many financial cites are just not compatible with Safari. Contact Schwab and ask them.
Similar to your other post:
OSX Yousemite Safari could NOT accesss US Citibank web site. Chrome could. Why??? -
Can't access my own web site from only my laptop
Inmotion hosting (my site's host) switched me to a "new and improved" shared server. I have several website hosted there. One (www.askthedogguy.com), I cannot access, front end or wordpress back end. When I type either url I am forwarded to http://ecbiz111.inmotionhosting.com/unavailable.html which contains a website unavailable message. My site was hosted on server was secure111.inmotionhosting.com. I have tried on several browsers (Safarie, Firefox and Chrome), cleared caches and cleared the dns cache using terminal all under the tutelage of Inmotion tech support's help. I can access my site on my ipad and iphone and on my sons' PC.
Inmotion says they've exhausted their fix ideas and suggested I contact Apple as the problem is isolated to my laptop only.
Any ideas?
-JohnYou probably hacked the system during the development of the website. The file modified is /etc/hosts.
The easiest way to fix the hosts file is to restore it from a backup that predates the modification, or to copy the unmodified file from another Mac. If you can't do that, then do as below. Please read this whole message before doing anything.
Back up all data. This is a simple procedure, but if you don't follow the instructions exactly, you could be left with an unbootable system. In that case, you'll have to restore from a backup or reinstall OS X.
If you have more than one user account, you must be logged in as an administrator.
Triple-click anywhere in the line below to select it:
open -a TextEdit /etc/hosts
Copy the selected text to the Clipboard (command-C).
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). A TextEdit window should open. At the top of the window, you should see this:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Below that, you'll see some other lines. There should be nothing above the first line "##". If you have any doubt about that, STOP and ask for guidance. Make sure you scroll all the way to the bottom of the document. Scroll bars are hidden by default until you actually start scrolling, so you may not realize that you’re not seeing the whole document.
If the contents of the TextEdit window are as described, close it, then enter the following command in the Terminal window in the same way as before (by copy and paste):
sudo sed -i~ '11,$d' /etc/hosts
This time, you'll be prompted for your login password, which won't be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Quit Terminal.
That will fix the hosts file. There is now a copy of the old hosts file with the name "hosts~" in the same folder as "hosts". You can delete the copy if you wish. Don't delete the file named "hosts". -
Can't access video on web site, get a message, video temporarily unavailalbe
Any time I try to view a video clip, I get a message saying that the video is temporarily unavailable. I can access the same video on Internet Explorer with no problems.
Try running Firefox in [[Safe Mode]]. If it works in that configuration, then one of your add-ons is the culprit.
-
I followed the following step (in spanish):
Configuración de la conexión para Firefox
Si te conectas a Internet a través de un servidor proxy que tiene problemas de conexión, no podrás cargar páginas web. Para comprobar la configuración del proxy de Firefox:
1.En la parte superior de la ventana de Firefox, en la barra de menú, haz clic en el menú Herramientas, y selecciona Opciones....
2.Selecciona el panel Avanzado.
3.Selecciona la pestaña Red.
4.En la sección Conexión, haz clic en Configuración... .
5.Cambia la configuración del proxy:
◦Si no te conectas a Internet a través de un proxy (o no sabes si te conectas a través de uno), selecciona Sin proxy.
◦Si te conectas a Internet a través de un proxy, compara la configuración de Firefox con la de otro navegador (como Internet Explorer. Consulta Guía de configuración de proxy de Microsoft) (O Safari. Consulta Guía de configuración de proxy de Apple).
1.Cierra la ventana de Configuración de conexión.
2.Haz clic en Aceptar para cerrar la ventana de OpcionesHaz clic en Cerrar para cerrar la ventana de preferenciasCerrar la ventana de preferenciasYou need to allow for the loopback connection in Firefox, as an "outgoing" connection.
-
Hi, My employer has a web site & as a part of the service to the employees, the employees can access personal details through the web site. I can access my employers web site not a problem, BUT - when i try to access the employees part of the web site it tells me "This browser is not supported.
You must be running Netscape 7.1 or greater."
Can someone please help?It is possible that the server gets confused by the user agent that is modified by your Ubuntu distribution and adds Ubuntu/10.10 (maverick)
Mozilla/5.0 (X11; U; Linux i686; en-AU; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13
You can try to reset the pref general.useragent.extra.* that add that part.<br />
See [[Web sites or add-ons incorrectly report incompatible browser]] -
Can't access SSL-secured web content from Remote Desktop Server
I am running RDS on Windows Server 2008R2. No Remote App or Gateway Services, just straight up Remote Desktop.
After making a RDP connection to the server, when trying to access any SSL-secured website, Internet Explorer displays the error "Internet Explorer cannot display the webpage" with a button labeled "Diagnose Connection Problems." It's the same generic
IE message that appears when DNS lookups fail. This failure to make SSL connections also manifests itself with Exchange autodiscover not working.
Strangely enough, Administrator is able to make SSL connections just fine, just not any other users. The server is otherwise completely functional.Hi cyborganic,
To narrow down this issue, Would you like to confirm the following questions:
1.
Does this issue exist when accessing all secured web sites or just some of them? Please try to access
https://www.microsoft.com.
Does it work?
2.
Does this issue exist when a user logs on to the console of the problematic server and then access a secure web site? In this way, we can isolate whether the problem is related
to RDS.
3.
You mentioned that administrator can access properly. As a test, can a problematic user be able to access the SSL site properly if you add him/her to the Administrators group
temporarily?
Meanwhile, Please help to make sure the “Cryptographic services” is set to Automatic Start.
Here, There are some suggestions for
General troubleshooting
Suggestion #1:
=====================================================================
Run the Network Diagnostics tool in Internet Explorer
To do this, follow these steps:
1.
Start Internet Explorer, and then try to access the Web page that is displaying the error message.
2.
On the page that displays an Internet Explorer error message, click the
Diagnose Connection Problems link. The Network Diagnostics tool will run. When the tool has finished running, it will report one of the following results:
o
It was unable to find a problem.
o
It has detected a problem. Additionally, the tool will provide guidance about the next steps to take to troubleshoot the problem.
Note
Internet Explorer 6 users click Detect Network Settings
3.
Click
IP Address, and note the IP Address. You may need it for future troubleshooting.
4.
Follow the steps in the Network Diagnostics tool to fix any connection problems.
5.
Start Internet Explorer.
If you receive the same error message, go to the next method.
Suggestion #2:
=====================================================================
Use the Delete Browsing History feature
If resetting the modem or the router did not resolve the problem, deleting your browsing history might help. Follow
these steps to remove your temporary Internet files, history, and form data:
Internet Explorer 8
1.
Start Internet Explorer.
2.
On the
Tools menu, click Internet Options.
3.
Under
Browsing history, click Delete.
4.
Select the check box next to
Preserve Favorites website data.
5.
Select the check box next to
Temporary Internet Files.
6.
Select the check box next to
Cookies.
7.
Select the check box next to
History.
8.
Select the check box next to
Form data.
9.
Select the check box next to
InPrivate Filtering data.
10.
At the bottom of window, click
Delete.
11.
Close Internet Explorer, start Internet Explorer again, and then try to access the Web page.
Suggestion #3:
=====================================================================
Use the Internet Explorer (No Add-ons) mode
To do this, click
Start, point to All Programs, point to
Accessories, point to System Tools, and then click
Internet Explorer (No Add-ons).
Note Internet Explorer (No Add-ons) mode is only available for Internet Explorer 7 and Internet Explorer 8.
If this resolves the issue, follow these steps to isolate the browser add-on that is causing the issue:
1.
Click
Tools, and then click Internet Options.
2.
Click the
Programs tab, and then click Manage add-ons.
3.
Click an add-on in the
Name list, and then click Disable.
4.
Repeat step 3 until you identify the add-on that is causing the issue.
If this issue still persists, Pls refer to the following link for
Advanced troubleshooting
You receive an error message in Internet Explorer: "Internet Explorer cannot display the webpage”
http://support.microsoft.com/kb/956196 -
WHY CAN'T I GET MY MAIL, I GET A MESSAGE 'CONNECTION TO SERVER FAILED" BUT I CAN GET ON ALL OTHER WEB SITES. IT WORKED FINE UNTIL ABOUT A MONTH AGO. I CANCELLED MY ACCOUNT, PUT MY INFO IN AGAIN AND STILL GET THE MESSAGE "CONNECTION TO SERVER FAILED" HELP PLEASE!
have you tried removing and readding the e-mail account? sometimes settings get corrupted or changed on the server end...something computers can sometimes handle better than the mail interface.
-
Mac Book-Need assistance. I can not access one specific internet site
I'm unable to access one specific web site without clearin all history each time I access. I dont have this problem accessing any other website. My system is too old for Apple support. Has anyone experienced this before? Thank you
Hi shldr2thewheel. the option you provided says the site is up. I still receive the message that Safari can reach the server. I have checked w/th site owner and the isp and they say to contact the manufacturer. I'm stumped. do you have another suggestion? Thank you
-
I can't open my work web site it let's me go to the login page then it won't go any further how do I fix this
To see whether this problem is caused by the new HTML5 parser feature in Firefox 4, you can turn it off like this:
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste '''html5''' and pause while the list is filtered
(3) Double-click '''html5.parser.enable''' to toggle it to false (it will turn bold).
Then return to your work site and reload the page.
Does that make any difference? If so, you can leave it that way. If not, you might as well switch it back (double-click that preference again to toggle it back to true.)
If not, and you need to roll back, here's the process:
First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
Close Firefox 4.
You could install Firefox 3.6 over it (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
Unless you have installed an incompatible add-on, Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
Note: I haven't actually tried this myself! -
Can I create a muse web site for someone else and allow them to make edits to site. Example to update gigs for a musician web site.
Yes, you can. Sites published with BusinessCatalyst or to an FTP host can be edited by clients. Here is a short tutorial about the new In-Browser Editing feature: In-browser Editing | Adobe Muse CC tutorials
Maybe you are looking for
-
How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?
I'm creating reports in Crystal XI. The information being displayed in the reports comes from data tables where the text is formatted in HTML. I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in
-
Start up is slow, applications take time to open and often burp while in use. Typically I will get the pinwheel for a minute or so before a particular application begins to respond again. Trying to do multiple tasks at one time is a nightmare. This b
-
Hi , Currently, i have scenario like N..1 mapping Source field : i have segment E1ADRM1 ( occurence 0..99 )in that two field partner_id and partner_q. target Field : I1NPT00 (0..1) i have PHSHTO and PHSOTO my condition is if partner_q has pass value
-
Enhance infotype 0077 screen number 2008
Hi, I want to enhance infotype 0077 screen number 2008. Using PM01, i created enhance single screen record with infotype 0077 with version 08. But the additional field appear on screen number 2000 instead of screen number 2008. How to add the additio
-
APEX style progress bar on left
Hi, New to APEX so apologies if this has already been discussed. I have created a form that is quite lengthy, so would like to break it down into different steps. Does anyone know how to create a progress bar on the left that shows the different step