arunigitec Posted December 18, 2006 Share Posted December 18, 2006 i want to change the default page of my website www.keralaatbest.com from default.asp to a page with the extension .php. Please help me in this regard.arun Quote Link to comment https://forums.phpfreaks.com/topic/31061-default-page-in-windows-server-of-the-site-wwwkeralaatbestcom/ Share on other sites More sharing options...
genericnumber1 Posted December 18, 2006 Share Posted December 18, 2006 what server are you using?If it is apache you would need to edit/create your .htaccess in your htdocs directory (publicwww? whatever your main directory of your site's files are.) Edit the line that says "DirectoryIndex blahblahblah.asp" if you dont have this line then add it yourself... "DirectoryIndex yourpage.php"http://www.javascriptkit.com/howto/htaccess6.shtmlIf it isn't apache I can't help you... you might want to check your server docs. Quote Link to comment https://forums.phpfreaks.com/topic/31061-default-page-in-windows-server-of-the-site-wwwkeralaatbestcom/#findComment-143430 Share on other sites More sharing options...
witch Posted December 26, 2006 Share Posted December 26, 2006 If this is a windows server. 2000, XP or 2003 it will be done in IIS. If it is IISV5.1 open IIS and goto your website, right click and select properties. Select Documents tab and click Add button. Type in whatever your startup page is example, index.php, default.php etc. ensure you move your .php page to the top. Click Apply button and OK. Stop your IIS and then restart our IIS. Test your site. Quote Link to comment https://forums.phpfreaks.com/topic/31061-default-page-in-windows-server-of-the-site-wwwkeralaatbestcom/#findComment-147797 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.