Phoenix Computer Repair and Business IT Support | Expert Solutions You Can Trust
 
 
 

Computer Repair Experts in Phoenix, Arizona. my PC Techs Presents:

Tech Tips - Business IT Support Tips


RSS feed for my PC Techs news  RSS Feeds: Entries (RSS) and Comments (RSS)

Pages

Tech Tip Archives
Log in

Which Do You Use Most Often for Work?

View Results

Loading ... Loading ...

Posts Tagged ‘hosting’

Setting a default page for a parked domain using .htaccess on a server with multiple domains

Friday, September 3rd, 2010

There seem to be plenty of help articles that talk about ways you can set the default web page for a domain using .htaccess. Most of these articles assume that you are hosting a single domain on a single host. What I am going to tell you is how to do the same thing when you are hosting multiple parked domains on the same host and need one domain to point to a different default page than the others.

We will be using the .htaccess file for this purpose. If you don’t know where to find it, look in your public_html (“root”) html folder. If the file doesn’t exist, you’ll need to create it using plain text and name it .htaccess

In this .htaccess file you may already have a setting that looks similar to this:
DirectoryIndex index.php default.php

This setting controls the pages that your parked domains will all look for by default. For example, when visiting https://www.mypctechs.com, if the above setting was in my .htaccess file, the server would deliver index.php first and default.php if that didn’t exist.

Because you are trying to get a parked domain to visit a different page than the two shown above, you’ll need to add some additional commands in your .htaccess file ABOVE the DirectoryIndex page. Otherwise the server will process the DirectoryIndex directive and your commands later in the file will never be executed.

Start at the top of your .htaccess file and add the following lines:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?thenameofyourdomain.com$
RewriteRule ^(/)?$ newdefaultpage.php [L]

Change thenameofyourdomain to the domain that you’d like to set a new default page for. Change newdefaultpage.php to the name of the page that you’d like as default.

Doing this will preserve your standard default.php and index.php for all other domains, while giving your new domain a different default landing page. Upload your new .htaccess file to the server and enjoy!

NOTE: Be very careful when editing your .htaccess file and always make a backup copy of the file before you change it. If you notice any problems with your site after the changes you can always revert back.


>> Did you like this article? Ping it!

 

Beyond Social Networking

Tuesday, June 22nd, 2010

We meet many business owners each week who provide a wide variety of products and services to the Phoenix metro area. Despite the quality of the products and services they offer, their sales and profits have declined significantly over the past several years. It’s easy to blame the recession, and most of us have been hit hard. Sales are still down during this slow recovery and many businesses are still struggling.

Can internet marketing and social networking boost profitability while reducing marketing costs? It can! Social networking can help you form relationships with clients and is a viable addition to your marketing toolbox. But social networking is far from a cure-all and it does not stand alone as the most effective way to power growth. Fine-tuning your web presence is key. The my PC Techs competent team of web professionals working together can develop a successful marketing campaign for your business. From literally stacks of resumes, we carefully select our team members, and only hire experts with many years of proven hands-on experience and proven success in the field, ready to help you grow your business. Our website solutions division has:

  • Web designers
  • Web developers
  • SEO specialists
  • Social media gurus
  • Web project managers
  • Web copywriters

my PC Techs provides proven internet marketing solutions and cutting-edge technologies that will grow your business and increase your sales. Rather than dealing with the confusion of using multiple technology partners who are often unavailable when YOU need them, my PC Techs works hard to provide you with a single, responsive point of contact for ALL of your website and business technology needs. Get started today and experience real results for as little as $900!

Call our office at (602) 456-0150 and mention this newsletter to receive a 20% discount on computer repair and IT services or a free website consultation.

For more information about internet marketing and to read more about my PC Techs happenings in June, click here.

 

>> Did you like this article? Ping it!

 


 


WE WORK HARD FOR YOU, BUT DON'T JUST TAKE OUR WORD FOR IT!
We've helped over 1,000 satisfied businesses throughout the Phoenix valley, click here to view some of their testimonials:

computer tech support near mePhoenix Computer Repair Testimonials on Google My Business My PC Techsmy PC Techs on TwitterFacebook Page for my PC TechsTech Support by United States Citizens Based in Arizona
Home | Computer Repair Phoenix | Managed IT | Web Development | Testimonials | Contact | Privacy | Pay | Blog RSS feed for my PC Techs news | Site Map

Phoenix Arizona: 125 N. 2nd Street, Suite 533 Phoenix, Arizona 85004
Phone: (602) 456-0150 | Email: admin@mypctechs.com
©2010 my PC Techs is owned and operated by Leo Polus, L.L.C., concept by Andre Morris
 

Managed IT and Computer Repair services for these Arizona cities: Ahwatukee, Carefree, Cave Creek, Chandler, Chandler Heights, Fountain Hills, Gilbert, Glendale, Higley, Laveen, Mesa, Paradise Valley, Peoria, Phoenix, Scottsdale, Tempe

To learn how Managed IT and Computer Repair services can help your Phoenix area business save money and increase productivity, click here to visit Phoenix Computer Repairs.

my PC Techs | Expert IT and Computer Repair Solutions You Can Trust | (602) 456-0150