9

"Server" is a generic term that represents a computer that shares something. There are many different types of servers. Some share databases, others share web sites, still others share files and pictures. IIS is an application, like WordPress, that runs on the server. In that regard, the terms IIS and server are synonymous. Technically, it is a ...


7

From https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ There's a proposal to add the .localhost domain as a new standard, which will make lives of developers way easier. It would mean site.localhost and everything at *.localhost would automatically translate to 127.0.0.1, without /etc/hosts or dnsmasq workarounds. Refer the RFC here.


6

Open your host file /etc/hosts with a text editor and make sure it contains: 127.0.0.1 localhost If it still doesn't work, run this command: file -b /etc/hosts and make sure the result is ASCII English text and nothing else. If it is not, use an editor such as TextWrangler or BBEdit to clean it up (use Unix end-of-line characters). Source: Apple ...


6

From the Wikipedia entry for .localhost (TLD): As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to the same loopback addresses. However, as you have found, it would appear that it's just Chrome and later versions of Opera (possibly the WebKit browsers, so ...


5

After much research, I found this article on the Comcast forums: http://forums.comcast.com/t5/Home-Networking-Router-WiFi/SMCD3G-Can-t-access-web-server-from-LAN-from-Internet-OK/m-p/1754823#M55009 Essentially, certain models of Comcast routers (both home and business class) will experience an "issue" where requests made from inside the network "die" at the ...


5

If the PC and tablet are on the same network, it is possible. All you'd need to do is use the IP address of the PC to access the site. So instead of accessing it via localhost (as you would on the PC), you'd access it via 192.168.1.2 (example). If the devices are not on the same network, it's still possible to access the PC with the tablet if you setup ...


4

Folder and File Permissions and Ownership It sounds like you are having ownership problems rather than file permissions. Doing a chmod 0755 will do the following: Owner: Write - Read - Execute Group: Read - Execute Public: Read - Execute Which should allow users to read the directory however it doesn't necessary mean that files can be read or written to ...


4

What you are looking for is XAMPP Portable Lite http://www.apachefriends.org/en/xampp-windows.html. XAMPP is a "Apache distribution containing MySQL, PHP and Perl" and you can use it for developing your website on your local pc.


4

Convert your directory /var/projectA/static to a simple application: create a directory WEB-INF/ in WEB-INF/ create the file web.xml with this content: <?xml version="1.0" encoding="ISO-8859-1"?> <web-app> <servlet> <servlet-name>DirectoryListing</servlet-name> <servlet-class>org.apache.catalina.servlets....


4

You first need a Facebook Developer Account that I'm sure you have already - You need to login and obtain an API Key by creating a new app. You can either use your own web host that has a SSL certification as this is now a requirement on Facebook or you can opt to publish your application using Facebook's Heroku Hosting. Most web hosting comes with SQL ...


4

Remove "http:" from the script src url, like: <script src="//code.jquery.com/jquery-2.1.4.min.js"> In case the problem insists, check if shows errors through Chrome Dev Console and paste it here.


4

This depends on how your network is setup. If you have a central DNS server on your network (as many enterprise business networks have) then you can add a zone record for whatever domain you wish for it to show up as. If you don't currently have a central DNS server you could set one up to achieve what you are after just the same. If both of those options ...


4

The word "server" has become a bit ambiguous but general means a computer which provides information to other computers. A web server used to be a physical machine that provided web pages to other other machines (clients). It also came to mean the software that served web pages- although this is really a misuse - a (software) webserver is ...


3

This is because of the x-frame-options:SAMEORIGIN response header. If you analyse a HTTP response from YouTube you will see the following: As you can see there is a response header, 2nd from bottom, that sets x-frame-origin to SAMEORIGIN. This basically prevents you from framing content from YouTube in an iframe on your own site. The idea is to prevent ...


3

I managed to get this working by creating a new rooms application pool. Then in default websites > rooms > basic settings I changed the application pool to the newly created rooms. I still don't know why this worked but it has. Hope it helps someone else.


2

If you own 'example.com' you can create a subdomain A-record to point to its local IP (192.168.1.X or 10.0.X.X) and then access it that way, or you can make up an 'example.com' you can edit the (PC?)'s hosts file (C:\Windows\system32\drivers\etc\hosts) and create a new entry at the bottom like so: 192.168.1.X laptop.example.com And any time you access ...


2

Did your DNS undergo testing because a many times loopback entry tests ability to process Web requests without actually sending any messages out. I believe it is not needed.


2

I'm not sure this is at all possible. The LOGS need to be its own virtual server. So essentially, set up a new virtual web server (if you're using Apache this is a breeze,) with it's root folder pointing to the same folder as this one does: in http://server2012/logs/. Then, set up your DNS (bind?) to aim the internal traffic from http://LOGS/ to the ...


2

To have emails sent out from a server and to pass certain validation tests you need to configure the server for SPF and DKIM. SPF is a rather simple process that involves setting an SPF or TXT record in your DNS records. The receiving mail server, then checks the DNS record to see if the sending machine is authorized by your domain's records, just as you ...


2

You should really solve this by setting the DocumentRoot correctly on your local test server. Perhaps setup a VirtualHost for this test site, rather than changing your default server config if you are testing several sites? It is a local test server, so should reflect the settings of the live site as close as possible. However, it is possible (but not ...


2

No. If you just want to profile, try xhprof, but any debugging system will have a massive impact on performance.


2

You're trying to load a HTTP resource on a HTTPS page. Your browser may be blocking this external resource because it's considered insecure on an otherwise "secure" page. Change src="http://code.jquery.com/jquery-2.1.4.min.js" to src="https://code.jquery.com/jquery-2.1.4.min.js" and see if that helps.


2

I use the solution of not using absolute links within the site to itself. Instead of: <a href="https://example.com/page.html"> Use protocol relative links: <a href="//example.com/page.html"> Or root relative links: <a href="/page.html"> Then your site works on your development server even if you view it over http rather than https.


2

Yes. Depending. Client Side: Most OSs allow for the editing of the hosts or hosts.txt file to associate a network name or domain name with an IP address. This is a client side option. You would do this on your desktop computer so that it knows how to address the request packet. Here is more detailed information including example settings. https://en....


2

Self-clicking is against Google Adsense Policy. Google doesn't tolerate any spamming activity like these. but if you made click by mistake once then are enough chances that Google will not close your account. But if you are doing it again and again then it will. But any user can click on your ad. for that there is no action against you. but for this, you ...


2

By locally I assume you mean on your local desktop and that your coworkers are on the same campus. To answer your question more specificaly, we would need to know what your operating system is. However, your coworkers should be able to access the website via your IP address assuming your network administrators have not blocked it somehow. For example, ...


1

You may also want to checkout it this post www.analyticsedge.com/2014/12/removing-referral-spam-google-analytics/ Adding these filters and segments can help you effectively filter out spam traffic.


1

My .htaccess is in the same directory as the index.php, so: localhost/projects/project1/.htaccess That's the problem, or rather your RewriteRule pattern is the problem, depending on how you look at it. In .htaccess (per-directory) files, the per-directory prefix is first removed from the URL before matching against the pattern. So, if your .htaccess file ...


1

Okay. This is a fairly easy one. Here is a link to some documentation you want to become familiar with. It is a bit difficult to understand at fist, but I promise you this stuff is really easy once you start to get into it. Keep reading the documentation and do a few searches around the net for examples and you will soon get it. http://httpd.apache.org/...


1

Editing MAC's host file You will first need to edit your operating systems host file, on a mac this is a rather simple procedure that you should be able to follow with ease. Open your terminal application (normally /Applications/Utilities/Applications.app or you can may even perfer to use your standard text editor. In the terminal type nano /private/etc/...


Only top voted, non community-wiki answers of a minimum length are eligible