Forum Moderators: phranque

Message Too Old, No Replies

New here, have some questions

         

NathanDrake

10:13 pm on Jan 7, 2011 (gmt 0)

10+ Year Member



Hi guys,

I'm new here and sorry if I'm posting this on the wrong section. I'm in the process of starting a website, haven't picked a name yet, but let's say the name is [nathandrakessite.com...] and that will be the main site, I would like to create a mirror site, i.e. a subdomain (i.e. [mirror.nathandrakessite.com)...] so that I can properly test the site in the future and then when everything is working I can implement my changes to the main site. My worry is that:

1) Google or another search engine will crawl that subdomain and people will find it
2) People will randomly find it

Is there a way that I can make it so that it's private and no one can access it?

My second question is, I'll be using PHP and MySQL, now I have coded on PHP and MySQL before, but never had to worry about supporting mobile platforms which is something I want to do with this site. Any helpful tips on that? Do I need to develop a new site altogether (let's call it m.nathandrakessite.com) and redirect users there with a PHP script? If so is there already an existing script in existence? Do I also have to design iphone, android sites, blackberry, etc (iphone.nathandrakessite.com, android.nathandrakessite.com, etc)?

My third question is where to buy the domain name and host? I'm thinking 1and1 is pretty cheap to buy domain names (U$4.99 a year) and hosting on hostgator (<$10/month). Are both of those good and is hostgator compatible with osDate? I know there's a limit on the number of files I can have with hostgator, but if my sites get big, I can just update to a dedicated server.

Thanks

gullsinn

7:35 pm on Jan 16, 2011 (gmt 0)

10+ Year Member



i would suggest develop the site in sub folder rather then subdomain and deny permissions to search engines with robots.txt
or make the subfolder password protected
do not re build the site just add mobile version put some tracking codes into main site if it detects a mobile device redirect to m.yourdomain.com
godaddy for domian
hostgator for hosting best choice

htmlbasictutor

6:40 pm on Jan 17, 2011 (gmt 0)

10+ Year Member



Why don't you develop the site offline with WAMP Server? wampserver.com

physics

8:27 pm on Jan 17, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld.com NathanDrake.

Password protect the subdomain test site to keep everyone out.
Are you using Apache? If so you can password protect it with .htaccess and htpasswd [httpd.apache.org...]

Usually a mobile version of your site is a stripped down version (fewer images, etc). I wouldn't plan on building versions for each platform. So you might think about using some kind of templating system so you can use a lighter weight template for the mobile version.
If you're serious about making a cool mobile site though you might want to check out jQuery Mobile [jquerymobile.com...]