Renaming “localhost” URL to custom URL in WAMP or XAMPP

Web Programmer and Developer are very much familiar with the local development environment URL “localhost”. But seeing the same URL sometimes made us boring and wish to have a custom URL. Many of you may have the desire that instead of “localhost”, it could be something else! Right?

Let’s figure out the new URL first, we may name it development.rs. Don’t confused with rs. It’s mean RangpurSource, my company name. So, we’re going to set our new custom local development environment URL to development.rs from localhost.

Before begin, note that I’m working with the WAMP, so all the “www” will be replaced with “htdocs” if you’re using XAMPP.

So, Let’s BEGINS –

Step 1

Go to C:\wamp\bin\apache\Apache2.2.17\conf\ and open httpd.conf file and change #Include conf/extra/httpd-vhosts.conf to Include conf/extra/httpd-vhosts.conf. Just uncomment the line so that it can include the virtual hosts file.

Step 2

Go to C:\wamp\bin\apache\Apache2.2.17\conf\extra and open httpd-vhosts.conf file and add the following code


<VirtualHost development.rs>
DocumentRoot "C:/wamp/www/"
ServerName development.rs
ServerAlias development.rs
<Directory "C:/wamp/www/">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

 

Change development.rs and C:/wamp/www/ as per your requirements.

Step 3

Open hosts file in C:/Windows/System32/drivers/etc/ and add the following line (Don’t delete anything )

127.0.0.1 development.rs Or replace 127.0.0.1 locahost to 127.0.0.1 development.rs

You maybe got an error called access denied or file cannot be edited and save, this is because of windows file security. Just edit the file as an administrator mode and you’ll be getting what you’ve expected.

Change development.rs as per your name requirements

Step 4

Restart your server. That’s it. 🙂

Let’s share your opinion if it works for you.

How to solve “Could not make copy of project, unable to produce” error in Camtasia Studio

Do you use Camtasia Studio to record/capture your screencast in your daily life? Have you ever seen a boring popup dialog box with “Could not make copy of project, unable to produce” error after complete editing and about to go to render your video? If not yet then you’re really lucky till now! But if you’re unlucky like me, then it’s a nightmare!!

Camtasia Studio

But I’ve got a solution!

I know you’re now crazy about to know the tactic! Eh? 😛 Hold on a moment!

Before I share the solution, let me tell you what I got before getting the solution –

I was searched on Google and got many forum posts about this issue but no one gave the right way to solve this. Many posts referred me the same answer, “it’s a bug of Camtasia version 7/8 and your need to upgrade”. But I’m sure it’s not a bug because my other videos before the problematic was render absolutely fine.

Here is the problem:

Assume you have a long title for your screencast and you separated some of the words with ampersand “&", like “How to find & replace something”, right? The ampersand is the only devil that caused the problem! Don’t ask why caused it’s not the right place. 😉

The solution:

Simply avoid using “&” in your title when creating/saving your Camtasia project files (.camrec and the .camproj). Instead, use solid a n d = “and”. If you already did use “&” then just rename your project file(s) and it’ll work fine.

Caution:

Do not delete your project file(s) before checking this solution. Maybe it works for your but I do not guarantee that it’ll be the only reason of the problem and the solution for you in the future but it work for me fine till now.

I hope you’re now able to render your video as before.

Hello and welcome to my blog!

It’s been a long time since I purchased this domain (maybe 3 years 😛 ) for developing my personal website/blog. But couldn’t get much time to invest here. I think we’re really lazy while doing own work, you know. But in last couple of days, I was lost a client for not having my own website completed. 🙁

At that meantime I decided within a short time I would develop my website and make it live publicly! And here it is. 😀

From today, I’ll try to write what I’m learning in my daily professional life and sometime about my own lifestyle!

So, this is for today! I hope you’ll have a very good time here in my blog! 🙂