Way to Open Localhost with Different Url

Way to Open Localhost with Different Url

I have tried and to open my Project in LocalHost

but

I want to open this with some other URL so user can not able to know that I have opened with localhost.

Edited:

My Users currently accessing my project with localhost but now i want to use some static string to open as url. I mean if currently users accessing project with localhost/proj but i want to do like staticString/proj Is it possible?

Is there any way to open project with different URL rather than localhost?

Thanks.

6

5 Answers

You have to Configure first Virtual Host in your XAMPP or any Web server. After you can use that name instead of Localhost or IP Address.

Follow this link to configure Virtual Host.

and this also

0
  • You can make use of virtual host configuration in your web server.
  • Edit your hosts file to include 127.0.0.1 thisismyhost.com

Then can should be able to access your project using

0

I follow solution of accepted answer but I found one tricky Magic solution for that which i can use without any configuration:

You can use yourString.google It will directly open you localhost.

For Example: Open this link in your browser:

if you have installed xampp it will open your localhost

Really amazing magical trick.

I don't know how it works, May be this is functionality of browsers.

I believe what you are looking for is local tunnel

Use node and npm to install it globally using npm install -g localtunnel

then give the port you want to export lt --port <port>

you will get a link you can share anywhere and anyone can access your localhost site. there are multiple ways and options to it. you can view about it - here!

if you change the port you will see the result like this

> 

right click on the project click on properties and there will be one option web in that change the specific port

hope this may help

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.