Jump to content

Recommended Posts

Hi,

I've setup my Apache server with virtual hosts. However, I wish to host my own domain names and I'm stuck at this point:

 

Is it possible to host your own domains on your apache web server?

If so, would they have to be registered through another company to stop people registering them?

 

Any help with these 2 questions and how to complete these rasks very much appreciated.

 

Regards,

Robert

Link to comment
https://forums.phpfreaks.com/topic/80642-how-do-you-add-your-own-domains/
Share on other sites

Do you own a .com domain or something like this?  if not dyndns is what you are looking for.  you can also have user type in you public ip address and they will get to your PC if you have your router forwarding traffic to that PC.  The only problem with the ip is if you dont pay for a static IP, it is constantly changing.  That is where dyndns comes in, you install software on your computer, and it refreshes on the server, and you just go to the .dyndns.org address.

Yes you can.  Except their are two ways to go about it.  Depending on your situation.

 

If you have a STATIC IP:

- Set your domain's DNS servers to a domain service provider, someone like EveryDNS.NET or DynDNS.

- Then log into your control panl for EveryDNS or DynDNS.

- Setup your DNS records, you'll require atleast an A record and a CNAME record.

- Point your A record to your IP address and your CNAME records to your A record. (EG A domain.com=>123.456.789.123, CNAME www.domain.com=>domain.com)

- Setup Apache to accept Virtual Host using the VirtualHost settings

- Build your site!

DONE!

 

To be honest that all sounds harder than it sounds.

 

If you have a DYNAMIC IP ADDRESS

Same as above, except you'll just choost a different option for your A record, you'll set it to have a dynamic option, and all you do from that point is just download a client to update your IP address every 60 minutes or so.

 

Easy?  Yup, thought so!  Hope that helps and gives you a little more information.

Hi,

Sorry for the late reply as you were all good enough to give me a quick response. All the replies greatly appreciated and I will look into them all.

 

I was really enquiring if it was possible to host domain names on your own web server instead of having to register them elsewhere. i.e. not paying someone else for the service but still retaining ownership of the domain. i.e. if today I decided I wanted the domain getready.com, could I set it up on my own web server and could I register ownership over it?

 

If not then I would register it via a third party but I would want someone to type in the domain name and the site would come up (via static IP) but retain the domain name in the address bar and not the IP address. So, no forwarding.

 

Regards,

Robert

 

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.