Jump to content

Recommended Posts

Hi there,

how do you set up a virtual host without first having a registered domain name?

 

I have set up a virtual host on my apache server and I want to check it but my domain name has not resolved yet. How  can I access the server in the meantime?

 

With some hosting providers when you set up a new hosting account they provide a temprary url like this: 12.345.67.890/domain.com

 

But this doesn't work on my server.

 

???

 

Cheers!

Link to comment
https://forums.phpfreaks.com/topic/194806-virtual-servers-temporary-url/
Share on other sites

Thanks,

 

OK, does anyone know how the hosting services provide temporary urls using single ip addresses?

For example, on my shared hosting, I can set up a hosting account using any random domain name -registered or not (I could use your domain name if I wanted) and they would create a domain reference. I would then be able to access the hosting account using a pattern like: 12.345.67.890/yourdonain.com. For example, this is one of my site: https://cser.org.uk/ the temporary address is: http://79.170.40.232/cser.org.uk/

 

I know they don't use separate ip for every domain reference.

 

I was wondering if anybody knows how this is achieved.

 

Thanks

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.