Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Web Custom Domain instead of IP

Discord: .z41n
[VIP] Member
Joined
Aug 3, 2008
Messages
172
Reaction score
26
Hi All,

I've been at it for a few hours and can't seem to properly setup my website so that I can use a custom domain (which I purchased), instead of an IP.

My web server is based off WAMP on my VPS. I was able to get users to connect to my site using the VPS' WAN IP, but I'd like to use the domain I purchased.

I'm not very experienced with things like DNS and nameservers, but I reached out to Google support and they advised they can only forward users to the IP URL, but can't mask it with the custom domain (no naked URL?).

I'd love if someone could help me implement the custom domain. Or point me in the right direction, considering its based off wamp (PHP, MySQL).

Thanks
 
Computers are fast; programmers keep it slow.
[VIP] Member
Joined
Feb 15, 2016
Messages
498
Reaction score
350
Hi,

You can try and use Cloudflare for your domain (DNS). Its simply straight forward thing on the dashboard.

Regards,
 
Upvote 0
Discord: .z41n
[VIP] Member
Joined
Aug 3, 2008
Messages
172
Reaction score
26
Hi,

You can try and use Cloudflare for your domain (DNS). Its simply straight forward thing on the dashboard.

Regards,

Thanks for the reply lars

I created a CloudFare account and registered my domain with them.
So are you saying I simply use the CF DNS names in my Google Domains cpanel?

What else must be done? I assume I will need to change my WAMP hosts/httpdconf files
 
Upvote 0
Computers are fast; programmers keep it slow.
[VIP] Member
Joined
Feb 15, 2016
Messages
498
Reaction score
350
You just have to point your A (and/or AAAA [IPV6]) records to your VPS' IPV4 address. Click to know more about managing your DNS.

And yes, I think you need to change your hosts/httpdconf to use your domain. But afaik it should work by default.

Also, take time to read . This is not the best solution out there, but it should be good for starters.
 
Last edited:
Upvote 0
Discord: .z41n
[VIP] Member
Joined
Aug 3, 2008
Messages
172
Reaction score
26
You just have to point your A (and/or AAAA [IPV6]) records to your VPS' IPV4 address. Click to know more about managing your DNS.

And yes, I think you need to change your hosts/httpdconf to use your domain. But afaik it should work by default.

Also, take time to read . This is not the best solution out there, but it should be good for starters.

Thanks for the resources. My goal is definitely to move away from the direct IP, which is why I'm actually posting here.
I pointed my cloudfare DNS settings to my IPv4 - I can also update my httpd files to now say my website url rather than my IP.
The only thing is: I have this on port 2727 since it appears my ISP blocks port 80 (despite having it actively forwarded).

Is this what you were referring to do?

Best,
Z
 
Upvote 0
Back
Top