9 votes
Accepted

Which is the practical difference between a server and a web server?

"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 ...
user avatar
  • 2,856
7 votes

Why does Chrome resolve websitename.localhost as localhost?

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 ...
user avatar
  • 171
7 votes
Accepted

Why does Chrome resolve websitename.localhost as localhost?

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 ...
user avatar
  • 41.4k
4 votes
Accepted

Forbidden 403 for js file on localhost?

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:...
user avatar
  • 32.6k
4 votes

Do I need to change the host file of each computer to share a web page on a local network using a hostname?

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 ...
user avatar
4 votes

Which is the practical difference between a server and a web server?

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 ...
user avatar
  • 5,970
4 votes

jQuery not loading from CDN

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 ...
user avatar
  • 588
3 votes

403 forbidden error when IIS is binding ASP web app on port 8080 to be accessed via a subdirectory

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 ...
user avatar
3 votes
Accepted

Why does subdomain.localhost work on Ubuntu but not on Debian? (without hosts entry)

Ubuntu is running the service systemd-resolved that maps localhost subdomains to your local IP address. If you query the DNS using dig you will see that it gets the local IP address (127.0.0.1) from a ...
user avatar
2 votes

WAMP: Properly directing image paths on local server

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 ...
user avatar
  • 41.4k
2 votes
Accepted

Returning 404 error after using RewriteRule on localhost

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 ...
user avatar
  • 41.4k
2 votes
Accepted

Local site with xdebug enabled is very slow

No. If you just want to profile, try xhprof, but any debugging system will have a massive impact on performance.
user avatar
  • 360
2 votes

Must I use a Top Level Domain (TLD) for localhost websites?

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 ...
user avatar
  • 32.5k
2 votes
Accepted

Easiest way to preview https over localhost?

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....
user avatar
2 votes
Accepted

jQuery not loading from CDN

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....
user avatar
  • 5,794
2 votes

Blocking Adsense clicks on my computers

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 ...
user avatar
2 votes
Accepted

Is there a way to share my joomla localhost website to someone else from the same network?

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. ...
user avatar
  • 2,856
2 votes

nginx how to configure nginx to nevigate to a subpage for reactjs app

This is my way of handling routes in reactjs and nginx I send every path to index.html and as a result reactjs is responsible for routes, and for that purpose I use reactrouter location / { ...
user avatar
1 vote

Localhost website not accessible from Public IP despite port forwarding

The evidence strongly suggest the problem is not with your router, rather it is with the setup of your web server. I strongly suspect that you have firewall rules on your webserver which are ...
user avatar
  • 5,970
1 vote

Full local server preparing for use full site backup file from hosting

If you do anything short of a full bitcopy of the server disk the answer is going to depend on the specific software you are running. If you are just worried about the website you typically only need ...
user avatar
  • 5,970
1 vote

Which is the practical difference between a server and a web server?

A web server accepts and fulfills requests from clients for static content (i.e., HTML pages, files, images, and videos) from a website. Web servers handle HTTP requests and responses only. An ...
user avatar
1 vote
Accepted

WordPress redirecting to itself

This might help? In your apache config, you see these lines: <VirtualHost *:80> ... </VirtualHost> This means that the config in between matches for all hostnames on port 80 (HTTP non-SSL)...
user avatar
  • 198
1 vote

Can I test Google adwords conversion tracking on my local environment site?

Instead of a localhost install, why not try a dev.yourlivesite.com? That would still be on your domain so most of your settings and site verifications should work.
user avatar
  • 765
1 vote

Can I test Google adwords conversion tracking on my local environment site?

Not really - because you'll get no "real" conversion on the localhost. But, you can test, whether your implementation was error-free. Set your GA account into debug mode, or use a debug extension. ...
user avatar
  • 9,599
1 vote

How to test my website from my phone on the same local network? 127.0.0.1 doesn't work

You will need to use the real local ip address of the computer (not the loopback 127.0.0.1) and make sure it is serving over the lan. More info: Stack Overflow - How can I access my localhost from my ...
user avatar
1 vote

Put WAMP online but hide its server index page

the server's index file which shows the list of all the projects is also accessible. What I want is to be only able to view it from local machine, not from others. Others can only access the index ...
user avatar
  • 41.4k
1 vote
Accepted

Google Business Sub Categories for Cleaning/janitorial Company

Google has a category called "Janitorial Service." Maybe they added it since you asked this question, but I would use that. I don't think that "Cleaners" means "Dry Cleaners" because there is a ...
user avatar
1 vote

Google analytics giving false statistics for localhost

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.
user avatar
1 vote
Accepted

Grant Permission to File Folder

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 ...
user avatar
  • 32.5k
1 vote
Accepted

How to fake domain on OS X?

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 ...
user avatar
  • 32.6k

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